aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/Makefile2
-rw-r--r--arch/x86/kernel/setup.c (renamed from arch/x86/kernel/setup_32.c)7
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index 5e1537b62534..212804e78787 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -18,7 +18,7 @@ CFLAGS_tsc_64.o := $(nostackp)
18obj-y := process_$(BITS).o signal_$(BITS).o entry_$(BITS).o 18obj-y := process_$(BITS).o signal_$(BITS).o entry_$(BITS).o
19obj-y += traps_$(BITS).o irq_$(BITS).o 19obj-y += traps_$(BITS).o irq_$(BITS).o
20obj-y += time_$(BITS).o ioport.o ldt.o 20obj-y += time_$(BITS).o ioport.o ldt.o
21obj-y += setup_$(BITS).o i8259.o irqinit_$(BITS).o setup_percpu.o 21obj-y += setup.o i8259.o irqinit_$(BITS).o setup_percpu.o
22obj-$(CONFIG_X86_32) += probe_roms_32.o 22obj-$(CONFIG_X86_32) += probe_roms_32.o
23obj-$(CONFIG_X86_32) += sys_i386_32.o i386_ksyms_32.o 23obj-$(CONFIG_X86_32) += sys_i386_32.o i386_ksyms_32.o
24obj-$(CONFIG_X86_64) += sys_x86_64.o x8664_ksyms_64.o 24obj-$(CONFIG_X86_64) += sys_x86_64.o x8664_ksyms_64.o
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup.c
index 4d5f8a3eb7ea..222d7038f2fd 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup.c
@@ -79,6 +79,7 @@
79#include <asm/mpspec.h> 79#include <asm/mpspec.h>
80#include <asm/setup.h> 80#include <asm/setup.h>
81#include <asm/arch_hooks.h> 81#include <asm/arch_hooks.h>
82#include <asm/efi.h>
82#include <asm/sections.h> 83#include <asm/sections.h>
83#include <asm/dmi.h> 84#include <asm/dmi.h>
84#include <asm/io_apic.h> 85#include <asm/io_apic.h>
@@ -110,6 +111,9 @@
110#include <asm/sections.h> 111#include <asm/sections.h>
111#include <asm/topology.h> 112#include <asm/topology.h>
112#include <asm/apicdef.h> 113#include <asm/apicdef.h>
114#ifdef CONFIG_X86_64
115#include <asm/numa_64.h>
116#endif
113#ifdef CONFIG_X86_32 117#ifdef CONFIG_X86_32
114#include <asm/highmem.h> 118#include <asm/highmem.h>
115#endif 119#endif
@@ -531,9 +535,6 @@ void __init setup_arch(char **cmdline_p)
531#endif 535#endif
532 536
533 /* max_pfn_mapped is updated here */ 537 /* max_pfn_mapped is updated here */
534#ifdef CONFIG_X86_64
535 max_pfn_mapped =
536#endif
537 max_pfn_mapped = init_memory_mapping(0, (max_low_pfn << PAGE_SHIFT)); 538 max_pfn_mapped = init_memory_mapping(0, (max_low_pfn << PAGE_SHIFT));
538 539
539 reserve_initrd(); 540 reserve_initrd();