aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 91c9066a380d..0652e173813b 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -328,7 +328,7 @@ static unsigned int __init pit_calibrate_tsc(void)
328#define PIT_MODE 0x43 328#define PIT_MODE 0x43
329#define PIT_CH0 0x40 329#define PIT_CH0 0x40
330 330
331static void __init __pit_init(int val, u8 mode) 331static void __pit_init(int val, u8 mode)
332{ 332{
333 unsigned long flags; 333 unsigned long flags;
334 334
@@ -344,12 +344,12 @@ void __init pit_init(void)
344 __pit_init(LATCH, 0x34); /* binary, mode 2, LSB/MSB, ch 0 */ 344 __pit_init(LATCH, 0x34); /* binary, mode 2, LSB/MSB, ch 0 */
345} 345}
346 346
347void __init pit_stop_interrupt(void) 347void pit_stop_interrupt(void)
348{ 348{
349 __pit_init(0, 0x30); /* mode 0 */ 349 __pit_init(0, 0x30); /* mode 0 */
350} 350}
351 351
352void __init stop_timer_interrupt(void) 352void stop_timer_interrupt(void)
353{ 353{
354 char *name; 354 char *name;
355 if (hpet_address) { 355 if (hpet_address) {