Commit c75d5c5d authored by Linus Torvalds's avatar Linus Torvalds
parents 2d3c7efa e51e07e0
...@@ -399,6 +399,9 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn) ...@@ -399,6 +399,9 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
timers_global = (void __iomem *) timers_global = (void __iomem *)
(unsigned long) addr[num_cpu_timers]; (unsigned long) addr[num_cpu_timers];
/* Every per-cpu timer works in timer mode */
sbus_writel(0x00000000, &timers_global->timer_config);
sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit); sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit);
master_l10_counter = &timers_global->l10_count; master_l10_counter = &timers_global->l10_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment