diff options
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86/mm/k8topology_64.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0804a889c27b..25251799337f 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -307,7 +307,7 @@ if X86_GENERICARCH | |||
307 | 307 | ||
308 | config X86_NUMAQ | 308 | config X86_NUMAQ |
309 | bool "NUMAQ (IBM/Sequent)" | 309 | bool "NUMAQ (IBM/Sequent)" |
310 | depends on SMP && X86_32 | 310 | depends on SMP && X86_32 && X86_MPPARSE |
311 | select NUMA | 311 | select NUMA |
312 | help | 312 | help |
313 | This option is used for getting Linux to run on a NUMAQ (IBM/Sequent) | 313 | This option is used for getting Linux to run on a NUMAQ (IBM/Sequent) |
diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c index 1f476e477844..f75aa2ae54a3 100644 --- a/arch/x86/mm/k8topology_64.c +++ b/arch/x86/mm/k8topology_64.c | |||
@@ -56,18 +56,22 @@ static __init void early_get_boot_cpu_id(void) | |||
56 | /* | 56 | /* |
57 | * Find possible boot-time SMP configuration: | 57 | * Find possible boot-time SMP configuration: |
58 | */ | 58 | */ |
59 | #ifdef CONFIG_X86_MPPARSE | ||
59 | early_find_smp_config(); | 60 | early_find_smp_config(); |
61 | #endif | ||
60 | #ifdef CONFIG_ACPI | 62 | #ifdef CONFIG_ACPI |
61 | /* | 63 | /* |
62 | * Read APIC information from ACPI tables. | 64 | * Read APIC information from ACPI tables. |
63 | */ | 65 | */ |
64 | early_acpi_boot_init(); | 66 | early_acpi_boot_init(); |
65 | #endif | 67 | #endif |
68 | #ifdef CONFIG_X86_MPPARSE | ||
66 | /* | 69 | /* |
67 | * get boot-time SMP configuration: | 70 | * get boot-time SMP configuration: |
68 | */ | 71 | */ |
69 | if (smp_found_config) | 72 | if (smp_found_config) |
70 | early_get_smp_config(); | 73 | early_get_smp_config(); |
74 | #endif | ||
71 | early_init_lapic_mapping(); | 75 | early_init_lapic_mapping(); |
72 | } | 76 | } |
73 | 77 | ||