aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authortravis@sgi.com <travis@sgi.com>2008-01-30 07:32:51 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:51 -0500
commitb32ef636a59aad12f9f9b5dc34c93222842c58ba (patch)
tree6857cac9a741be756608793ab1b481bfa32d2c2e /arch
parentcf8fa920cb4271f17e0265c863d64bea1b31941a (diff)
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 'arch')
-rw-r--r--arch/ia64/Kconfig3
-rw-r--r--arch/powerpc/Kconfig3
-rw-r--r--arch/sparc64/Kconfig3
-rw-r--r--arch/x86/Kconfig3
4 files changed, 12 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 4a81b7fb191a..5a41e75ae1fe 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -80,6 +80,9 @@ config GENERIC_TIME_VSYSCALL
80 bool 80 bool
81 default y 81 default y
82 82
83config ARCH_SETS_UP_PER_CPU_AREA
84 def_bool y
85
83config DMI 86config DMI
84 bool 87 bool
85 default y 88 default y
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index c17a194beb0e..fb85f6b72fcf 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -42,6 +42,9 @@ config GENERIC_HARDIRQS
42 bool 42 bool
43 default y 43 default y
44 44
45config ARCH_SETS_UP_PER_CPU_AREA
46 def_bool PPC64
47
45config IRQ_PER_CPU 48config IRQ_PER_CPU
46 bool 49 bool
47 default y 50 default y
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
index 1e25bce0366d..26f5791baa33 100644
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -66,6 +66,9 @@ config AUDIT_ARCH
66 bool 66 bool
67 default y 67 default y
68 68
69config ARCH_SETS_UP_PER_CPU_AREA
70 def_bool y
71
69config ARCH_NO_VIRT_TO_BUS 72config ARCH_NO_VIRT_TO_BUS
70 def_bool y 73 def_bool y
71 74
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 1de28e850aa4..dc80a9f1f303 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -97,6 +97,9 @@ config GENERIC_TIME_VSYSCALL
97 bool 97 bool
98 default X86_64 98 default X86_64
99 99
100config ARCH_SETS_UP_PER_CPU_AREA
101 def_bool X86_64
102
100config ARCH_SUPPORTS_OPROFILE 103config ARCH_SUPPORTS_OPROFILE
101 bool 104 bool
102 default y 105 default y