[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141216094854.22639.69181.sendpatchset@w520>
Date: Tue, 16 Dec 2014 18:48:54 +0900
From: Magnus Damm <magnus.damm@...il.com>
To: Magnus Damm <magnus.damm@...il.com>, linux-kernel@...r.kernel.org
Cc: linux-sh@...r.kernel.org, daniel.lezcano@...aro.org,
horms@...ge.net.au, geert@...ux-m68k.org,
laurent.pinchart@...asonboard.com,
Magnus Damm <magnus.damm@...il.com>, tglx@...utronix.de
Subject: [PATCH] clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast
From: Magnus Damm <damm+renesas@...nsource.se>
Update the TMU driver to use cpu_possible_mask as cpumask to make
r8a7779 SMP work as expected with or without the ARM TWD timer.
Signed-off-by: Magnus Damm <damm+renesas@...nsource.se>
---
drivers/clocksource/sh_tmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/drivers/clocksource/sh_tmu.c
+++ work/drivers/clocksource/sh_tmu.c 2014-12-16 17:49:49.000000000 +0900
@@ -428,7 +428,7 @@ static void sh_tmu_register_clockevent(s
ced->features = CLOCK_EVT_FEAT_PERIODIC;
ced->features |= CLOCK_EVT_FEAT_ONESHOT;
ced->rating = 200;
- ced->cpumask = cpumask_of(0);
+ ced->cpumask = cpu_possible_mask;
ced->set_next_event = sh_tmu_clock_event_next;
ced->set_mode = sh_tmu_clock_event_mode;
ced->suspend = sh_tmu_clock_event_suspend;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists