From: Laurent Pinchart Date: Tue, 4 Mar 2014 14:22:19 +0000 (+0100) Subject: clocksource: sh_mtu2: Set cpumask to cpu_possible_mask X-Git-Tag: next-20140516~105^2~8^2~15^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3cc950479891040366629247357512f1cc928da3;p=karo-tx-linux.git clocksource: sh_mtu2: Set cpumask to cpu_possible_mask The MTU2 is not tied to CPU0, make it usable on any CPU. Signed-off-by: Laurent Pinchart Tested-by: Wolfram Sang --- diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index 2cf004880746..702ce6044793 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c @@ -331,7 +331,7 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_channel *ch, ced->name = name; ced->features = CLOCK_EVT_FEAT_PERIODIC; ced->rating = rating; - ced->cpumask = cpumask_of(0); + ced->cpumask = cpu_possible_mask; ced->set_mode = sh_mtu2_clock_event_mode; ced->suspend = sh_mtu2_clock_event_suspend; ced->resume = sh_mtu2_clock_event_resume;