diff options
author | travis@sgi.com <travis@sgi.com> | 2008-01-30 13:32:51 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:32:51 +0100 |
commit | b32ef636a59aad12f9f9b5dc34c93222842c58ba (patch) | |
tree | 6857cac9a741be756608793ab1b481bfa32d2c2e /include/asm-generic | |
parent | i386: handle an initrd in highmem (version 2) (diff) | |
download | linux-b32ef636a59aad12f9f9b5dc34c93222842c58ba.tar.xz linux-b32ef636a59aad12f9f9b5dc34c93222842c58ba.zip |
percpu: use a kconfig variable to signal arch specific percpu setup
The use of the __GENERIC_PERCPU is a bit problematic since arches
may want to run their own percpu setup while using the generic
percpu definitions. Replace it through a kconfig variable.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/percpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h index d85172e9ed45..b5e53b9ab1f7 100644 --- a/include/asm-generic/percpu.h +++ b/include/asm-generic/percpu.h @@ -3,7 +3,6 @@ #include <linux/compiler.h> #include <linux/threads.h> -#define __GENERIC_PER_CPU #ifdef CONFIG_SMP extern unsigned long __per_cpu_offset[NR_CPUS]; |