]> git.neil.brown.name Git - history.git/commit
[PATCH] get_cpu_var patch
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Aug 2002 03:27:45 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 13 Aug 2002 03:27:45 +0000 (20:27 -0700)
commit466e44bb94c10842f9e34b4692e01bd7210c2a89
treeea671e4c11b6c390a29ddcf192ac3f9916c64f2f
parentb7b75b49fd49d23f2467091e57a6c5c08d275b03
[PATCH] get_cpu_var patch

This makes introduces get_cpu_var()/put_cpu_var() which gets a
per-cpu variable and disables preemption, and renames the (unsafe
under preemption) "this_cpu()" macro to __get_cpu_var().  It also
deletes the redundant definitions in linux/smp.h.
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/process.c
arch/ia64/kernel/smp.c
include/asm-generic/percpu.h
include/asm-ia64/percpu.h
include/asm-ia64/processor.h
include/asm-x86_64/percpu.h
include/linux/percpu.h
include/linux/smp.h
kernel/softirq.c