aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2014-10-20 15:04:06 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 01:45:16 -0500
commita45da5659852bd4cbe453b49f5b26def65f5a6bf (patch)
treeb39f3724ba58254e29f812685d5aa9b79acdb70e /drivers/clocksource
parentb695d8e6ad6fba3d72b309b0d62128b04cf57160 (diff)
clocksource: mips-gic: Bump up rating of GIC timer
Bump up the rating of the GIC timer so that it gets prioritized over the CP0 timer. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Qais Yousef <qais.yousef@imgtec.com> Cc: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/8141/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/mips-gic-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c
index 84fbb7ae4db2..a749c812e255 100644
--- a/drivers/clocksource/mips-gic-timer.c
+++ b/drivers/clocksource/mips-gic-timer.c
@@ -61,7 +61,7 @@ static void gic_clockevent_cpu_init(struct clock_event_device *cd)
61 cd->features = CLOCK_EVT_FEAT_ONESHOT | 61 cd->features = CLOCK_EVT_FEAT_ONESHOT |
62 CLOCK_EVT_FEAT_C3STOP; 62 CLOCK_EVT_FEAT_C3STOP;
63 63
64 cd->rating = 300; 64 cd->rating = 350;
65 cd->irq = gic_timer_irq; 65 cd->irq = gic_timer_irq;
66 cd->cpumask = cpumask_of(cpu); 66 cd->cpumask = cpumask_of(cpu);
67 cd->set_next_event = gic_next_event; 67 cd->set_next_event = gic_next_event;