summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2007-07-21 17:10:09 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-22 03:37:08 +0200
commit55f93afd89fe6b9b9e12cfb2d3eb1a68e21f529e (patch)
treea18fb273a4a0eae43aecaad477d47e602e1a1087 /drivers
parenti386: remove pit_interrupt_hook (diff)
downloadlinux-55f93afd89fe6b9b9e12cfb2d3eb1a68e21f529e.tar.xz
linux-55f93afd89fe6b9b9e12cfb2d3eb1a68e21f529e.zip
x86_64: Untangle asm/hpet.h from asm/timex.h
When making changes to x86_64 timers, I noticed that touching hpet.h triggered an unreasonably large rebuild. Untangling it from timex.h quiets the extra rebuild quite a bit. Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index 30c3f54c7666..ec6b65ec69ea 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -82,7 +82,7 @@
#include <asm/uaccess.h>
#include <asm/system.h>
-#if defined(__i386__)
+#ifdef CONFIG_X86
#include <asm/hpet.h>
#endif