Skip to content

Commit c75d5c5

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc32: forced setting of mode of sun4m per-cpu timers
2 parents 2d3c7ef + e51e07e commit c75d5c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/sparc/kernel/sun4m_irq.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
399399
timers_global = (void __iomem *)
400400
(unsigned long) addr[num_cpu_timers];
401401

402+
/* Every per-cpu timer works in timer mode */
403+
sbus_writel(0x00000000, &timers_global->timer_config);
404+
402405
sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit);
403406

404407
master_l10_counter = &timers_global->l10_count;

0 commit comments

Comments
 (0)