x86: add C1E aware idle function, fix
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Jun 2008 07:12:03 +0000 (09:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 05:47:37 +0000 (07:47 +0200)
commit0beefa208bb3a9e581a60125703409ebe6f7fa53
tree0bfdec0cfd70031a70704ced8386c10c05fc034c
parentaa276e1cafb3ce9d01d1e837bcd67e92616013ac
x86: add C1E aware idle function, fix

On Tue, 17 Jun 2008, Rafael J. Wysocki wrote:
>
> BTW, with the C1E patches reverted I don't get the
> WARNING: at /home/rafael/src/linux-next/kernel/smp.c:215 smp_call_function_single+0x3d/0xa2
> in the log.  Thomas?

The BROADCAST_FORCE notification uses smp_function_call and therefor
must be run with interrupts enabled.

While at it, add a comment for the BROADCAST_EXIT notifier as well.

Reported-and-bisected-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process.c