summaryrefslogtreecommitdiff
path: root/drivers/char/rtc.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2007-07-21 19:10:09 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-22 05:37:08 +0400
commit55f93afd89fe6b9b9e12cfb2d3eb1a68e21f529e (patch)
treea18fb273a4a0eae43aecaad477d47e602e1a1087 /drivers/char/rtc.c
parentbef9f9de32ec201ea5372caf2c76e7c71f80ee35 (diff)
downloadlinux-55f93afd89fe6b9b9e12cfb2d3eb1a68e21f529e.tar.xz
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/char/rtc.c')
-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