]> git.hungrycats.org Git - linux/commit
[PATCH] fix preempt-issues with smp_call_function()
authorAndrew Morton <akpm@digeo.com>
Sun, 2 Mar 2003 12:36:59 +0000 (04:36 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 2 Mar 2003 12:36:59 +0000 (04:36 -0800)
commita8dd64846059efc677f37fbd2c0665def355885f
treeeda257cb424b85e3b2500c36bc0103ea4e743b58
parente8375b8c74b43df9049059f06d9a64cc376f2ff1
[PATCH] fix preempt-issues with smp_call_function()

Patch from Thomas Schlichter <schlicht@uni-mannheim.de>

Based on a patch from Dave Jones.

It converts a large number of instances of:

smp_call_function(foo);
foo();

into

on_each_cpu(foo);

and in doing so fixes up the preempt-unsafeness of the first version.
30 files changed:
arch/alpha/kernel/process.c
arch/alpha/kernel/smp.c
arch/i386/kernel/io_apic.c
arch/i386/kernel/ldt.c
arch/i386/kernel/microcode.c
arch/i386/kernel/smp.c
arch/i386/kernel/sysenter.c
arch/i386/mach-voyager/voyager_smp.c
arch/i386/mm/pageattr.c
arch/i386/oprofile/nmi_int.c
arch/ia64/kernel/smp.c
arch/mips64/kernel/smp.c
arch/parisc/kernel/cache.c
arch/parisc/kernel/irq.c
arch/parisc/kernel/smp.c
arch/parisc/mm/init.c
arch/ppc/kernel/temp.c
arch/s390/kernel/smp.c
arch/s390x/kernel/smp.c
arch/x86_64/kernel/bluesmoke.c
arch/x86_64/kernel/io_apic.c
arch/x86_64/kernel/ldt.c
arch/x86_64/kernel/smp.c
arch/x86_64/mm/pageattr.c
drivers/char/agp/agp.h
drivers/s390/char/sclp.c
fs/buffer.c
include/asm-parisc/cacheflush.h
include/linux/smp.h
mm/slab.c