linux/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 [PATCH] alpha: fix IRQ handling lockup 2006-03-09 19:47:37 -08:00
arm [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
arm26 [PATCH] arm26: select BLK_DEV_FD only on A5K 2006-02-01 08:53:22 -08:00
cris [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 2006-02-07 20:57:19 -05:00
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 Pull sn2-reduce-kmalloc-wrap into release branch 2006-03-21 08:22:56 -08:00
m32r [PATCH] m32r: fix and update for gcc-4.0 2006-02-24 14:31:36 -08:00
m68k [PATCH] m68k: pm_power_off() breakage 2006-02-18 16:30:20 -05:00
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 [PATCH] hrtimer: round up relative start time on low-res arches 2006-02-14 16:09:35 -08:00
powerpc powerpc: update defconfigs 2006-03-16 16:55:08 +11:00
ppc [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
s390 [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
sh [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
sh64 [PATCH] drive_info removal outside of arch/i386 2006-02-07 20:56:47 -05:00
sparc [SPARC]: BUG_ON() Conversion in arch/sparc/kernel/ioport.c 2006-03-20 01:10:35 -08:00
sparc64 [SPARC64]: Update defconfig. 2006-03-20 01:23:43 -08:00
um [PATCH] uml: tidying COW code 2006-02-24 14:31:37 -08:00
v850 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() 2006-03-20 13:42:58 -08:00
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