Skip to content

Commit 234b384

Browse files
sudeep-hollaKAGA-KOKO
authored andcommitted
tick/broadcast-hrtimer: Use cpu_possible_mask for ce_broadcast_hrtimer
This is the last instance of cpu_all_mask usage in the core framework. Replace it with cpu_possible_mask like all other instances in the clockevent drivers. This makes it possible to add a warning in the core clockevents_register_device on usage of cpu_all_mask from any clockevent drivers in the future. Signed-off-by: Sudeep Holla <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent 6777996 commit 234b384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/tick-broadcast-hrtimer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static struct clock_event_device ce_broadcast_hrtimer = {
9090
.max_delta_ticks = ULONG_MAX,
9191
.mult = 1,
9292
.shift = 0,
93-
.cpumask = cpu_all_mask,
93+
.cpumask = cpu_possible_mask,
9494
};
9595

9696
static enum hrtimer_restart bc_handler(struct hrtimer *t)

0 commit comments

Comments
 (0)