clocksource: convert x86 to generic i8253 clocksource
PATCH 3/4 clocksource: convert x86 to generic i8253 clocksource
Convert x86 i8253 clocksource code to use generic i8253 clocksource.
Cc John Stultz <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Signed-off-by Russell King <[email protected]>
--- arch/x86/Kconfig | 1 + arch/x86/include/asm/i8253.h | 2 + arch/x86/kernel/i8253.c | 79 +----------------------------------------- 3 files changed, 4 insertions(+), 78 deletions(-)
arch/x86/Kconfig +1 -0
@@ -8,6 +8,7 @@ config 64BIT config X86_32 def_bool !64BIT + select CLKSRC_I8253 config X86_64 def_bool 64BIT
arch/x86/include/asm/i8253.h +2 -0
@@ -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;
arch/x86/kernel/i8253.c +1 -78
91 lines not on this page · raw message
Signature · 1 line
1.7.4.4