aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/i8253.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-05-08 18:55:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-05-14 10:29:48 +0100
commit82491451dd25a3abe8496ddbd04ddb3f77d285c2 (patch)
treec9aa32c209fae4d664d2b7035271c65f1c79c142 /arch/x86/include/asm/i8253.h
parent8c414ff3f4dcdde228c6a668385218290d73a265 (diff)
clocksource: convert x86 to generic i8253 clocksource
Convert x86 i8253 clocksource code to use generic i8253 clocksource. Acked-by: John Stultz <john.stultz@linaro.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/i8253.h')
-rw-r--r--arch/x86/include/asm/i8253.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/i8253.h b/arch/x86/include/asm/i8253.h
index fc1f579fb96..65aaa91d585 100644
--- a/arch/x86/include/asm/i8253.h
+++ b/arch/x86/include/asm/i8253.h
@@ -6,6 +6,8 @@
#define PIT_CH0 0x40
#define PIT_CH2 0x42
+#define PIT_LATCH LATCH
+
extern raw_spinlock_t i8253_lock;
extern struct clock_event_device *global_clock_event;