ia64: Make sure interrupts enabled when we "safe_halt()"
authorLuck, Tony <tony.luck@intel.com>
Tue, 16 Apr 2013 18:35:56 +0000 (11:35 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Apr 2013 08:39:37 +0000 (10:39 +0200)
commit2412aa1293a4159c610616305c17efd237c8208d
tree00378f167c77d3e5a9138f2d6dee4aaaa310db5b
parent87fa05aeb3a5e8e21b1a5510eef6983650eff092
ia64: Make sure interrupts enabled when we "safe_halt()"

In commit d166991234347215dc23fc9dc15a63a83a1a54e1
   idle: Implement generic idle function
Thomas Gleixner cleaned up many things but perturbed some
fragile code that was keeping ia64 alive. So we started
seeing:
   WARNING: at kernel/cpu/idle.c:94 cpu_idle_loop+0x360/0x380()
and other unpleasantness like system hangs during boot.

We really shouldn't ever halt with interrupts disabled.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: magnus.damm@gmail.com
Link: http://lkml.kernel.org/r/516d9a0c26048eae9c@agluck-desk.sc.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/ia64/include/asm/irqflags.h