Skip to content

Commit 6777996

Browse files
committed
clocksource/drivers/arm_arch_timer: Fix bogus cpu_all_mask usage
Using cpu_all_mask as target mask for clockevents is wrong as it never can actually target not possible CPUs. Use cpu_possible_mask instead Signed-off-by: Thomas Gleixner <[email protected]> Cc: Sudeep Holla <[email protected]> Cc: Daniel Lezcano <[email protected]>
1 parent c77aee7 commit 6777996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/arm_arch_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ static void __arch_timer_setup(unsigned type,
735735
clk->features |= CLOCK_EVT_FEAT_DYNIRQ;
736736
clk->name = "arch_mem_timer";
737737
clk->rating = 400;
738-
clk->cpumask = cpu_all_mask;
738+
clk->cpumask = cpu_possible_mask;
739739
if (arch_timer_mem_use_virtual) {
740740
clk->set_state_shutdown = arch_timer_shutdown_virt_mem;
741741
clk->set_state_oneshot_stopped = arch_timer_shutdown_virt_mem;

0 commit comments

Comments
 (0)