diff options
-rw-r--r-- | arch/i386/Kconfig | 2 | ||||
-rw-r--r-- | arch/i386/mach-voyager/voyager_basic.c | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 0afec8566e7b..af411596a318 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -733,7 +733,7 @@ config PHYSICAL_START | |||
733 | 733 | ||
734 | config HOTPLUG_CPU | 734 | config HOTPLUG_CPU |
735 | bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" | 735 | bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" |
736 | depends on SMP && HOTPLUG && EXPERIMENTAL | 736 | depends on SMP && HOTPLUG && EXPERIMENTAL && !X86_VOYAGER |
737 | ---help--- | 737 | ---help--- |
738 | Say Y here to experiment with turning CPUs off and on. CPUs | 738 | Say Y here to experiment with turning CPUs off and on. CPUs |
739 | can be controlled through /sys/devices/system/cpu. | 739 | can be controlled through /sys/devices/system/cpu. |
diff --git a/arch/i386/mach-voyager/voyager_basic.c b/arch/i386/mach-voyager/voyager_basic.c index 6761d294f260..b584060ec004 100644 --- a/arch/i386/mach-voyager/voyager_basic.c +++ b/arch/i386/mach-voyager/voyager_basic.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/sysrq.h> | 25 | #include <linux/sysrq.h> |
26 | #include <linux/smp.h> | 26 | #include <linux/smp.h> |
27 | #include <linux/nodemask.h> | 27 | #include <linux/nodemask.h> |
28 | #include <asm/cpu.h> | ||
29 | #include <asm/io.h> | 28 | #include <asm/io.h> |
30 | #include <asm/voyager.h> | 29 | #include <asm/voyager.h> |
31 | #include <asm/vic.h> | 30 | #include <asm/vic.h> |
@@ -331,16 +330,3 @@ void machine_power_off(void) | |||
331 | if (pm_power_off) | 330 | if (pm_power_off) |
332 | pm_power_off(); | 331 | pm_power_off(); |
333 | } | 332 | } |
334 | |||
335 | static struct i386_cpu cpu_devices[NR_CPUS]; | ||
336 | |||
337 | static int __init topology_init(void) | ||
338 | { | ||
339 | int i; | ||
340 | |||
341 | for_each_present_cpu(i) | ||
342 | register_cpu(&cpu_devices[i].cpu, i, NULL); | ||
343 | return 0; | ||
344 | } | ||
345 | |||
346 | subsys_initcall(topology_init); | ||