diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 21c6746338af..df172c1e8238 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -694,7 +694,7 @@ static u64 __init get_max_mapped(void) | |||
694 | void __init setup_arch(char **cmdline_p) | 694 | void __init setup_arch(char **cmdline_p) |
695 | { | 695 | { |
696 | int acpi = 0; | 696 | int acpi = 0; |
697 | int k8 = 0; | 697 | int amd = 0; |
698 | unsigned long flags; | 698 | unsigned long flags; |
699 | 699 | ||
700 | #ifdef CONFIG_X86_32 | 700 | #ifdef CONFIG_X86_32 |
@@ -981,12 +981,12 @@ void __init setup_arch(char **cmdline_p) | |||
981 | acpi = acpi_numa_init(); | 981 | acpi = acpi_numa_init(); |
982 | #endif | 982 | #endif |
983 | 983 | ||
984 | #ifdef CONFIG_K8_NUMA | 984 | #ifdef CONFIG_AMD_NUMA |
985 | if (!acpi) | 985 | if (!acpi) |
986 | k8 = !k8_numa_init(0, max_pfn); | 986 | amd = !amd_numa_init(0, max_pfn); |
987 | #endif | 987 | #endif |
988 | 988 | ||
989 | initmem_init(0, max_pfn, acpi, k8); | 989 | initmem_init(0, max_pfn, acpi, amd); |
990 | memblock_find_dma_reserve(); | 990 | memblock_find_dma_reserve(); |
991 | dma32_reserve_bootmem(); | 991 | dma32_reserve_bootmem(); |
992 | 992 | ||