summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genapic_64.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2009-01-20 04:36:04 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-21 13:00:42 +0100
commit03b486322e994dde49e67aedb391867b7cf28822 (patch)
treef1b3418cfaa57376f3637e85464bb6b88d72ba26 /arch/x86/kernel/genapic_64.c
parent5b221278d61e3907a5e4104a844b63bc8bb3d43a (diff)
downloadblackbird-op-linux-03b486322e994dde49e67aedb391867b7cf28822.tar.gz
blackbird-op-linux-03b486322e994dde49e67aedb391867b7cf28822.zip
x86: make UV support configurable
Make X86 SGI Ultraviolet support configurable. Saves about 13K of text size on my modest config. text data bss dec hex filename 6770537 1158680 694356 8623573 8395d5 vmlinux 6757492 1157664 694228 8609384 835e68 vmlinux.nouv Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_64.c')
-rw-r--r--arch/x86/kernel/genapic_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c
index 2bced78b0b8e..e656c2721154 100644
--- a/arch/x86/kernel/genapic_64.c
+++ b/arch/x86/kernel/genapic_64.c
@@ -32,7 +32,9 @@ extern struct genapic apic_x2apic_cluster;
struct genapic __read_mostly *genapic = &apic_flat;
static struct genapic *apic_probe[] __initdata = {
+#ifdef CONFIG_X86_UV
&apic_x2apic_uv_x,
+#endif
&apic_x2apic_phys,
&apic_x2apic_cluster,
&apic_physflat,
OpenPOWER on IntegriCloud