diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:05 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:05 -0400 |
commit | e8d08eb1b59bf6dda44fffe63cce1250d87a8b56 (patch) | |
tree | f73f6b2b8ee0d2c6b06427fdd55f9d29212ca6bc /arch | |
parent | 987c75d7170686804b404b7f917b9e4b703702ff (diff) |
x86_64: move kernel/acpi
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/Makefile_64 | 7 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/sleep_64.c (renamed from arch/x86_64/kernel/acpi/sleep_64.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/wakeup_64.S (renamed from arch/x86_64/kernel/acpi/wakeup_64.S) | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/Makefile_64 | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/acpi/Makefile | 5 | ||||
-rw-r--r-- | arch/x86_64/kernel/acpi/Makefile_64 | 9 |
7 files changed, 10 insertions, 17 deletions
diff --git a/arch/x86/kernel/acpi/Makefile b/arch/x86/kernel/acpi/Makefile index dd4eb7cef2b4..3d5671939542 100644 --- a/arch/x86/kernel/acpi/Makefile +++ b/arch/x86/kernel/acpi/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | 1 | ifeq ($(CONFIG_X86_32),y) |
2 | include ${srctree}/arch/x86/kernel/acpi/Makefile_32 | 2 | include ${srctree}/arch/x86/kernel/acpi/Makefile_32 |
3 | else | 3 | else |
4 | include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64 | 4 | include ${srctree}/arch/x86/kernel/acpi/Makefile_64 |
5 | endif | 5 | endif |
diff --git a/arch/x86/kernel/acpi/Makefile_64 b/arch/x86/kernel/acpi/Makefile_64 new file mode 100644 index 000000000000..629425bc002d --- /dev/null +++ b/arch/x86/kernel/acpi/Makefile_64 | |||
@@ -0,0 +1,7 @@ | |||
1 | obj-y := boot.o | ||
2 | obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o | ||
3 | |||
4 | ifneq ($(CONFIG_ACPI_PROCESSOR),) | ||
5 | obj-y += processor.o cstate.o | ||
6 | endif | ||
7 | |||
diff --git a/arch/x86_64/kernel/acpi/sleep_64.c b/arch/x86/kernel/acpi/sleep_64.c index 79475d237071..79475d237071 100644 --- a/arch/x86_64/kernel/acpi/sleep_64.c +++ b/arch/x86/kernel/acpi/sleep_64.c | |||
diff --git a/arch/x86_64/kernel/acpi/wakeup_64.S b/arch/x86/kernel/acpi/wakeup_64.S index 8b4357e1efe0..5e3b3f5496c5 100644 --- a/arch/x86_64/kernel/acpi/wakeup_64.S +++ b/arch/x86/kernel/acpi/wakeup_64.S | |||
@@ -269,7 +269,7 @@ no_longmode: | |||
269 | movb $0xbc,%al ; outb %al,$0x80 | 269 | movb $0xbc,%al ; outb %al,$0x80 |
270 | jmp no_longmode | 270 | jmp no_longmode |
271 | 271 | ||
272 | #include "../verify_cpu_64.S" | 272 | #include "../../../x86_64/kernel/verify_cpu_64.S" |
273 | 273 | ||
274 | /* This code uses an extended set of video mode numbers. These include: | 274 | /* This code uses an extended set of video mode numbers. These include: |
275 | * Aliases for standard modes | 275 | * Aliases for standard modes |
diff --git a/arch/x86_64/kernel/Makefile_64 b/arch/x86_64/kernel/Makefile_64 index 3a204cc599d7..120d4e51fd4d 100644 --- a/arch/x86_64/kernel/Makefile_64 +++ b/arch/x86_64/kernel/Makefile_64 | |||
@@ -16,7 +16,7 @@ obj-$(CONFIG_X86_MCE) += mce_64.o therm_throt.o | |||
16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel_64.o | 16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel_64.o |
17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd_64.o | 17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd_64.o |
18 | obj-$(CONFIG_MTRR) += ../../x86/kernel/cpu/mtrr/ | 18 | obj-$(CONFIG_MTRR) += ../../x86/kernel/cpu/mtrr/ |
19 | obj-$(CONFIG_ACPI) += acpi/ | 19 | obj-$(CONFIG_ACPI) += ../../x86/kernel/acpi/ |
20 | obj-$(CONFIG_X86_MSR) += msr.o | 20 | obj-$(CONFIG_X86_MSR) += msr.o |
21 | obj-$(CONFIG_MICROCODE) += microcode.o | 21 | obj-$(CONFIG_MICROCODE) += microcode.o |
22 | obj-$(CONFIG_X86_CPUID) += cpuid.o | 22 | 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 index dd4eb7cef2b4..000000000000 --- a/arch/x86_64/kernel/acpi/Makefile +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/kernel/acpi/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/x86_64/kernel/acpi/Makefile_64 b/arch/x86_64/kernel/acpi/Makefile_64 deleted file mode 100644 index fc377c87e0b0..000000000000 --- a/arch/x86_64/kernel/acpi/Makefile_64 +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | obj-y := boot.o | ||
2 | boot-y := ../../../x86/kernel/acpi/boot.o | ||
3 | obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o | ||
4 | |||
5 | ifneq ($(CONFIG_ACPI_PROCESSOR),) | ||
6 | obj-y += processor.o | ||
7 | processor-y := ../../../x86/kernel/acpi/processor.o ../../../x86/kernel/acpi/cstate.o | ||
8 | endif | ||
9 | |||