x86: Move efi to platform
authorThomas Gleixner <tglx@linutronix.de>
Sat, 16 Oct 2010 08:19:54 +0000 (10:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 Oct 2010 12:30:01 +0000 (14:30 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Huang Ying <ying.huang@intel.com>
arch/x86/kernel/Makefile
arch/x86/platform/Makefile
arch/x86/platform/efi/Makefile [new file with mode: 0644]
arch/x86/platform/efi/efi.c [moved from arch/x86/kernel/efi.c with 100% similarity]
arch/x86/platform/efi/efi_32.c [moved from arch/x86/kernel/efi_32.c with 100% similarity]
arch/x86/platform/efi/efi_64.c [moved from arch/x86/kernel/efi_64.c with 100% similarity]
arch/x86/platform/efi/efi_stub_32.S [moved from arch/x86/kernel/efi_stub_32.S with 100% similarity]
arch/x86/platform/efi/efi_stub_64.S [moved from arch/x86/kernel/efi_stub_64.S with 100% similarity]

index d9067d1..b01c7b1 100644 (file)
@@ -81,7 +81,6 @@ obj-$(CONFIG_KEXEC)           += relocate_kernel_$(BITS).o crash.o
 obj-$(CONFIG_CRASH_DUMP)       += crash_dump_$(BITS).o
 obj-$(CONFIG_KPROBES)          += kprobes.o
 obj-$(CONFIG_MODULES)          += module.o
-obj-$(CONFIG_EFI)              += efi.o efi_$(BITS).o efi_stub_$(BITS).o
 obj-$(CONFIG_DOUBLEFAULT)      += doublefault_32.o
 obj-$(CONFIG_KGDB)             += kgdb.o
 obj-$(CONFIG_VM86)             += vm86_32.o
index a964fa3..99e95b3 100644 (file)
@@ -1,2 +1,3 @@
 # Platform specific code goes here
+obj-y  += efi/
 obj-y  += sfi/
diff --git a/arch/x86/platform/efi/Makefile b/arch/x86/platform/efi/Makefile
new file mode 100644 (file)
index 0000000..73b8be0
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_EFI)              += efi.o efi_$(BITS).o efi_stub_$(BITS).o