kernel-ark/arch
Andrew Morton 78eef01b0f [PATCH] on_each_cpu(): disable local interrupts
When on_each_cpu() runs the callback on other CPUs, it runs with local
interrupts disabled.  So we should run the function with local interrupts
disabled on this CPU, too.

And do the same for UP, so the callback is run in the same environment on both
UP and SMP.  (strictly it should do preempt_disable() too, but I think
local_irq_disable is sufficiently equivalent).

Also uninlines on_each_cpu().  softirq.c was the most appropriate file I could
find, but it doesn't seem to justify creating a new file.

Oh, and fix up that comment over (under?) x86's smp_call_function().  It
drives me nuts.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:53:59 -08:00
..
alpha
arm [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
arm26
cris
frv [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
h8300 [PATCH] multiple exports of strpbrk 2006-03-22 07:53:56 -08:00
i386 [PATCH] on_each_cpu(): disable local interrupts 2006-03-22 07:53:59 -08:00
ia64
m32r
m68k
m68knommu [PATCH] multiple exports of strpbrk 2006-03-22 07:53:56 -08:00
mips [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
parisc
powerpc
ppc [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
s390
sh [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
sh64
sparc
sparc64
um
v850
x86_64 [PATCH] multiple exports of strpbrk 2006-03-22 07:53:56 -08:00
xtensa [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00