diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-29 03:52:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-29 03:54:00 -0400 |
commit | 224e946b81166d732f3e9b414cb69612072fb500 (patch) | |
tree | f1dc27a9a4027d292875911dfc5a55b453d7460a | |
parent | 45b1e23eca1c53fa79a611a2bc8c93697ede6c97 (diff) |
x86, microcode: fix symbol exports
fix tons of build errors:
arch/x86/kernel/built-in.o: In function `microcode_fini_cpu':
microcode_intel.c:(.text+0x11598): undefined reference to `microcode_mutex'
microcode_intel.c:(.text+0x115a4): undefined reference to `ucode_cpu_info'
microcode_intel.c:(.text+0x115ae): undefined reference to `ucode_cpu_info'
microcode_intel.c:(.text+0x115bc): undefined reference to `microcode_mutex'
[...]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/microcode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index 9a881845b35b..758b958a6637 100644 --- a/arch/x86/kernel/microcode.c +++ b/arch/x86/kernel/microcode.c | |||
@@ -104,16 +104,16 @@ MODULE_LICENSE("GPL"); | |||
104 | struct microcode_ops *microcode_ops; | 104 | struct microcode_ops *microcode_ops; |
105 | 105 | ||
106 | /* no concurrent ->write()s are allowed on /dev/cpu/microcode */ | 106 | /* no concurrent ->write()s are allowed on /dev/cpu/microcode */ |
107 | static DEFINE_MUTEX(microcode_mutex); | 107 | DEFINE_MUTEX(microcode_mutex); |
108 | EXPORT_SYMBOL_GPL(microcode_mutex); | 108 | EXPORT_SYMBOL_GPL(microcode_mutex); |
109 | 109 | ||
110 | static struct ucode_cpu_info ucode_cpu_info[NR_CPUS]; | 110 | struct ucode_cpu_info ucode_cpu_info[NR_CPUS]; |
111 | EXPORT_SYMBOL_GPL(ucode_cpu_info); | 111 | EXPORT_SYMBOL_GPL(ucode_cpu_info); |
112 | 112 | ||
113 | #ifdef CONFIG_MICROCODE_OLD_INTERFACE | 113 | #ifdef CONFIG_MICROCODE_OLD_INTERFACE |
114 | static void __user *user_buffer; /* user area microcode data buffer */ | 114 | void __user *user_buffer; /* user area microcode data buffer */ |
115 | EXPORT_SYMBOL_GPL(user_buffer); | 115 | EXPORT_SYMBOL_GPL(user_buffer); |
116 | static unsigned int user_buffer_size; /* it's size */ | 116 | unsigned int user_buffer_size; /* it's size */ |
117 | EXPORT_SYMBOL_GPL(user_buffer_size); | 117 | EXPORT_SYMBOL_GPL(user_buffer_size); |
118 | 118 | ||
119 | static int do_microcode_update (void) | 119 | static int do_microcode_update (void) |
@@ -230,7 +230,7 @@ MODULE_ALIAS_MISCDEV(MICROCODE_MINOR); | |||
230 | #endif | 230 | #endif |
231 | 231 | ||
232 | /* fake device for request_firmware */ | 232 | /* fake device for request_firmware */ |
233 | static struct platform_device *microcode_pdev; | 233 | struct platform_device *microcode_pdev; |
234 | EXPORT_SYMBOL_GPL(microcode_pdev); | 234 | EXPORT_SYMBOL_GPL(microcode_pdev); |
235 | 235 | ||
236 | static void microcode_init_cpu(int cpu, int resume) | 236 | static void microcode_init_cpu(int cpu, int resume) |