aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4m_irq.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-02-22 20:36:17 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-02-22 20:36:17 -0500
commitdaefd89efc279b142bbb054577c2d706da211723 (patch)
tree2298056232548f6f22d7bbff2662a2bbf64520de /arch/sparc/kernel/sun4m_irq.c
parent6e33aceda2d82126e9d08a39e21a15be0dd00a6c (diff)
parentf86bcc302a8c570dd0f5a50097a6af96a0e717c2 (diff)
Merge branch 'for_3.4/gpio/runtime-pm-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into gpio/next
Diffstat (limited to 'arch/sparc/kernel/sun4m_irq.c')
-rw-r--r--arch/sparc/kernel/sun4m_irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c
index 422c16dad1f6..e61165161dd3 100644
--- a/arch/sparc/kernel/sun4m_irq.c
+++ b/arch/sparc/kernel/sun4m_irq.c
@@ -399,6 +399,9 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
399 timers_global = (void __iomem *) 399 timers_global = (void __iomem *)
400 (unsigned long) addr[num_cpu_timers]; 400 (unsigned long) addr[num_cpu_timers];
401 401
402 /* Every per-cpu timer works in timer mode */
403 sbus_writel(0x00000000, &timers_global->timer_config);
404
402 sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit); 405 sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit);
403 406
404 master_l10_counter = &timers_global->l10_count; 407 master_l10_counter = &timers_global->l10_count;