diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-17 06:33:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 07:13:25 -0500 |
commit | 7d01d32d3b9becd6deba318b718db3d9fc181d23 (patch) | |
tree | 70f866bac39065812cd81d298a9bf16e8b60a449 /arch/x86/kernel/probe_32.c | |
parent | c1eeb2de41d7015678bdd412b48a5f071b84e29a (diff) |
x86, apic: fix build fallout of genapic changes
- make oprofile build
- select X86_X2APIC from X86_UV - it relies on it
- export genapic for oprofile modular build
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/probe_32.c')
-rw-r--r-- | arch/x86/kernel/probe_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/probe_32.c b/arch/x86/kernel/probe_32.c index 1f701caa95bc..6e31b17d546d 100644 --- a/arch/x86/kernel/probe_32.c +++ b/arch/x86/kernel/probe_32.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | #include <linux/threads.h> | 9 | #include <linux/threads.h> |
10 | #include <linux/cpumask.h> | 10 | #include <linux/cpumask.h> |
11 | #include <linux/module.h> | ||
11 | #include <linux/string.h> | 12 | #include <linux/string.h> |
12 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
13 | #include <linux/ctype.h> | 14 | #include <linux/ctype.h> |
@@ -143,6 +144,7 @@ extern struct genapic apic_es7000; | |||
143 | extern struct genapic apic_default; | 144 | extern struct genapic apic_default; |
144 | 145 | ||
145 | struct genapic *apic = &apic_default; | 146 | struct genapic *apic = &apic_default; |
147 | EXPORT_SYMBOL_GPL(apic); | ||
146 | 148 | ||
147 | static struct genapic *apic_probe[] __initdata = { | 149 | static struct genapic *apic_probe[] __initdata = { |
148 | #ifdef CONFIG_X86_NUMAQ | 150 | #ifdef CONFIG_X86_NUMAQ |