aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-02-15 23:25:53 -0500
committerLen Brown <len.brown@intel.com>2007-02-15 23:27:13 -0500
commit5c95d3f5783ab184f64b7848f0a871352c35c3cf (patch)
tree73374261e0346c6538a6805f4821fde97dcbc373 /drivers/acpi
parent8d4956c201c2f7683289f70095443c59a39f94ef (diff)
ACPI: include apic.h in processor driver for benefit of UP kernels
apic.h does not get included on UP compiles. That way the APICTIMER_STOPS_ON_C3 is not there and UP boxen have no support for timer broadcasting. This was never noticed, because the lapic timer is only used for profiling on UP. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: john stultz <johnstul@us.ibm.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_idle.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 6c6751b1405b..59fac8d79412 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -40,6 +40,14 @@
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 */
47#ifdef CONFIG_X86
48#include <asm/apic.h>
49#endif
50
43#include <asm/io.h> 51#include <asm/io.h>
44#include <asm/uaccess.h> 52#include <asm/uaccess.h>
45 53