summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/timers/timer_pit.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/timers/timer_pit.c')
-rw-r--r--arch/i386/kernel/timers/timer_pit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/timers/timer_pit.c b/arch/i386/kernel/timers/timer_pit.c
index e42e46d3..b9b6bd5 100644
--- a/arch/i386/kernel/timers/timer_pit.c
+++ b/arch/i386/kernel/timers/timer_pit.c
@@ -25,8 +25,9 @@ static int __init init_pit(char* override)
{
/* check clock override */
if (override[0] && strncmp(override,"pit",3))
- printk(KERN_ERR "Warning: clock= override failed. Defaulting to PIT\n");
-
+ printk(KERN_ERR "Warning: clock= override failed. Defaulting "
+ "to PIT\n");
+ init_cpu_khz();
count_p = LATCH;
return 0;
}
OpenPOWER on IntegriCloud