Skip to content

Commit

Permalink
clocksource: sh_mtu2: Set cpumask to cpu_possible_mask
Browse files Browse the repository at this point in the history
The MTU2 is not tied to CPU0, make it usable on any CPU.

Signed-off-by: Laurent Pinchart <[email protected]>
Tested-by: Wolfram Sang <[email protected]>
  • Loading branch information
Laurent Pinchart committed Apr 16, 2014
1 parent f992c24 commit 3cc9504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/sh_mtu2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3cc9504

Please sign in to comment.