diff options
Diffstat (limited to 'arch/i386/kernel/cpuid.c')
-rw-r--r-- | arch/i386/kernel/cpuid.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpuid.c b/arch/i386/kernel/cpuid.c index ab0c327e79dc..db6dd20c3589 100644 --- a/arch/i386/kernel/cpuid.c +++ b/arch/i386/kernel/cpuid.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/major.h> | 34 | #include <linux/major.h> |
35 | #include <linux/fs.h> | 35 | #include <linux/fs.h> |
36 | #include <linux/smp_lock.h> | 36 | #include <linux/smp_lock.h> |
37 | #include <linux/fs.h> | ||
38 | #include <linux/device.h> | 37 | #include <linux/device.h> |
39 | #include <linux/cpu.h> | 38 | #include <linux/cpu.h> |
40 | #include <linux/notifier.h> | 39 | #include <linux/notifier.h> |
@@ -167,7 +166,6 @@ static int cpuid_device_create(int i) | |||
167 | return err; | 166 | return err; |
168 | } | 167 | } |
169 | 168 | ||
170 | #ifdef CONFIG_HOTPLUG_CPU | ||
171 | static int cpuid_class_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) | 169 | static int cpuid_class_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) |
172 | { | 170 | { |
173 | unsigned int cpu = (unsigned long)hcpu; | 171 | unsigned int cpu = (unsigned long)hcpu; |
@@ -187,7 +185,6 @@ static struct notifier_block __cpuinitdata cpuid_class_cpu_notifier = | |||
187 | { | 185 | { |
188 | .notifier_call = cpuid_class_cpu_callback, | 186 | .notifier_call = cpuid_class_cpu_callback, |
189 | }; | 187 | }; |
190 | #endif /* !CONFIG_HOTPLUG_CPU */ | ||
191 | 188 | ||
192 | static int __init cpuid_init(void) | 189 | static int __init cpuid_init(void) |
193 | { | 190 | { |