aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/sh_mtu2.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-14 22:59:28 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-04-14 22:59:28 -0400
commitfecf066c2d2fbc7e6a7e7e3a5af772a165bdd7b0 (patch)
treed603be7892e5a0522188b6a5010eb5544a9e0b18 /drivers/clocksource/sh_mtu2.c
parent43b8774dc409ea5d9369b978e2e7bc79289f0522 (diff)
sh: Disable IRQ balancing for timer and IPI IRQs.
Make sure that the timer IRQs and IPIs aren't enabled for IRQ balancing. IPIs are disabled as a result of being percpu while the timers simply disable balancing outright. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/clocksource/sh_mtu2.c')
-rw-r--r--drivers/clocksource/sh_mtu2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c
index b11882e0f1bd..644ecbbed256 100644
--- a/drivers/clocksource/sh_mtu2.c
+++ b/drivers/clocksource/sh_mtu2.c
@@ -280,7 +280,8 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev)
280 p->irqaction.handler = sh_mtu2_interrupt; 280 p->irqaction.handler = sh_mtu2_interrupt;
281 p->irqaction.dev_id = p; 281 p->irqaction.dev_id = p;
282 p->irqaction.irq = irq; 282 p->irqaction.irq = irq;
283 p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; 283 p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | \
284 IRQF_IRQPOLL | IRQF_NOBALANCING;
284 285
285 /* get hold of clock */ 286 /* get hold of clock */
286 p->clk = clk_get(&p->pdev->dev, "mtu2_fck"); 287 p->clk = clk_get(&p->pdev->dev, "mtu2_fck");