[PATCH] x86_64: More fixes for compilation without CONFIG_ACPI

Suggested by Alexander Nyberg

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andi Kleen 2005-05-31 14:39:26 -07:00 committed by Linus Torvalds
parent 2e3e80c2b7
commit 8d91640606
3 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <asm/desc.h> #include <asm/desc.h>
#include <asm/proto.h> #include <asm/proto.h>
#include <asm/mach_apic.h> #include <asm/mach_apic.h>
#include <asm/acpi.h>
#define __apicdebuginit __init #define __apicdebuginit __init

View File

@ -30,6 +30,7 @@
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/io_apic.h> #include <asm/io_apic.h>
#include <asm/proto.h> #include <asm/proto.h>
#include <asm/acpi.h>
/* Have we found an MP table */ /* Have we found an MP table */
int smp_found_config; int smp_found_config;

View File

@ -27,7 +27,9 @@
#include <linux/bcd.h> #include <linux/bcd.h>
#include <linux/kallsyms.h> #include <linux/kallsyms.h>
#include <linux/acpi.h> #include <linux/acpi.h>
#ifdef CONFIG_ACPI
#include <acpi/achware.h> /* for PM timer frequency */ #include <acpi/achware.h> /* for PM timer frequency */
#endif
#include <asm/8253pit.h> #include <asm/8253pit.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/vsyscall.h> #include <asm/vsyscall.h>