diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-04-15 04:59:28 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-04-15 04:59:28 +0200 |
commit | fecf066c2d2fbc7e6a7e7e3a5af772a165bdd7b0 (patch) | |
tree | d603be7892e5a0522188b6a5010eb5544a9e0b18 /drivers/clocksource/sh_tmu.c | |
parent | sh: intc: userimask support. (diff) | |
download | linux-fecf066c2d2fbc7e6a7e7e3a5af772a165bdd7b0.tar.xz linux-fecf066c2d2fbc7e6a7e7e3a5af772a165bdd7b0.zip |
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_tmu.c')
-rw-r--r-- | drivers/clocksource/sh_tmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 6b62283c1aba..44c39a363768 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -384,7 +384,8 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev) p->irqaction.handler = sh_tmu_interrupt; p->irqaction.dev_id = p; p->irqaction.irq = irq; - p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; + p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | \ + IRQF_IRQPOLL | IRQF_NOBALANCING; /* get hold of clock */ p->clk = clk_get(&p->pdev->dev, "tmu_fck"); |