diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_idle.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 6c6751b1405b..e34af7772a66 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -40,6 +40,16 @@ | |||
40 | #include <linux/sched.h> /* need_resched() */ | 40 | #include <linux/sched.h> /* need_resched() */ |
41 | #include <linux/latency.h> | 41 | #include <linux/latency.h> |
42 | 42 | ||
43 | /* | ||
44 | * Include the apic definitions for x86 to have the APIC timer related defines | ||
45 | * available also for UP (on SMP it gets magically included via linux/smp.h). | ||
46 | * asm/acpi.h is not an option, as it would require more include magic. Also | ||
47 | * creating an empty asm-ia64/apic.h would just trade pest vs. cholera. | ||
48 | */ | ||
49 | #ifdef CONFIG_X86 | ||
50 | #include <asm/apic.h> | ||
51 | #endif | ||
52 | |||
43 | #include <asm/io.h> | 53 | #include <asm/io.h> |
44 | #include <asm/uaccess.h> | 54 | #include <asm/uaccess.h> |
45 | 55 | ||