]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86_64: move kernel/acpi
authorThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:17:05 +0000 (11:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:17:05 +0000 (11:17 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/Makefile
arch/x86/kernel/acpi/Makefile_64 [new file with mode: 0644]
arch/x86/kernel/acpi/sleep_64.c [moved from arch/x86_64/kernel/acpi/sleep_64.c with 100% similarity]
arch/x86/kernel/acpi/wakeup_64.S [moved from arch/x86_64/kernel/acpi/wakeup_64.S with 99% similarity]
arch/x86_64/kernel/Makefile_64
arch/x86_64/kernel/acpi/Makefile [deleted file]
arch/x86_64/kernel/acpi/Makefile_64 [deleted file]

index dd4eb7cef2b4c7d6b389f7425a9ba764467f0bda..3d5671939542a0f6a9c07256d4486ead7d6646a0 100644 (file)
@@ -1,5 +1,5 @@
 ifeq ($(CONFIG_X86_32),y)
 include ${srctree}/arch/x86/kernel/acpi/Makefile_32
 else
-include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
+include ${srctree}/arch/x86/kernel/acpi/Makefile_64
 endif
diff --git a/arch/x86/kernel/acpi/Makefile_64 b/arch/x86/kernel/acpi/Makefile_64
new file mode 100644 (file)
index 0000000..629425b
--- /dev/null
@@ -0,0 +1,7 @@
+obj-y                  := boot.o
+obj-$(CONFIG_ACPI_SLEEP)       += sleep_64.o wakeup_64.o
+
+ifneq ($(CONFIG_ACPI_PROCESSOR),)
+obj-y                  += processor.o cstate.o
+endif
+
similarity index 99%
rename from arch/x86_64/kernel/acpi/wakeup_64.S
rename to arch/x86/kernel/acpi/wakeup_64.S
index 8b4357e1efe0b97dc37b24e5d4cc66321ecfc0cb..5e3b3f5496c5ff8c9fc6244ca6370cf79ef6e9f3 100644 (file)
@@ -269,7 +269,7 @@ no_longmode:
        movb    $0xbc,%al       ;  outb %al,$0x80
        jmp no_longmode
 
-#include "../verify_cpu_64.S"
+#include "../../../x86_64/kernel/verify_cpu_64.S"
        
 /* This code uses an extended set of video mode numbers. These include:
  * Aliases for standard modes
index 3a204cc599d74c9b4026259ee310df17ad3c7308..120d4e51fd4d1fc92ba3fe0c32510288722ac753 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_X86_MCE)         += mce_64.o therm_throt.o
 obj-$(CONFIG_X86_MCE_INTEL)    += mce_intel_64.o
 obj-$(CONFIG_X86_MCE_AMD)      += mce_amd_64.o
 obj-$(CONFIG_MTRR)             += ../../x86/kernel/cpu/mtrr/
-obj-$(CONFIG_ACPI)             += acpi/
+obj-$(CONFIG_ACPI)             += ../../x86/kernel/acpi/
 obj-$(CONFIG_X86_MSR)          += msr.o
 obj-$(CONFIG_MICROCODE)                += microcode.o
 obj-$(CONFIG_X86_CPUID)                += cpuid.o
diff --git a/arch/x86_64/kernel/acpi/Makefile b/arch/x86_64/kernel/acpi/Makefile
deleted file mode 100644 (file)
index dd4eb7c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-ifeq ($(CONFIG_X86_32),y)
-include ${srctree}/arch/x86/kernel/acpi/Makefile_32
-else
-include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
-endif
diff --git a/arch/x86_64/kernel/acpi/Makefile_64 b/arch/x86_64/kernel/acpi/Makefile_64
deleted file mode 100644 (file)
index fc377c8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-obj-y                  := boot.o
-boot-y                 := ../../../x86/kernel/acpi/boot.o
-obj-$(CONFIG_ACPI_SLEEP)       += sleep_64.o wakeup_64.o
-
-ifneq ($(CONFIG_ACPI_PROCESSOR),)
-obj-y                  += processor.o
-processor-y            := ../../../x86/kernel/acpi/processor.o ../../../x86/kernel/acpi/cstate.o
-endif
-