tick/broadcast-hrtimer: Use cpu_possible_mask for ce_broadcast_hrtimer
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 11 Jul 2018 11:24:23 +0000 (12:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 2 Aug 2018 12:55:52 +0000 (14:55 +0200)
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 <sudeep.holla@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lkml.kernel.org/r/1531308264-24220-2-git-send-email-sudeep.holla@arm.com
kernel/time/tick-broadcast-hrtimer.c

index 58045eb..a59641f 100644 (file)
@@ -90,7 +90,7 @@ static struct clock_event_device ce_broadcast_hrtimer = {
        .max_delta_ticks        = ULONG_MAX,
        .mult                   = 1,
        .shift                  = 0,
-       .cpumask                = cpu_all_mask,
+       .cpumask                = cpu_possible_mask,
 };
 
 static enum hrtimer_restart bc_handler(struct hrtimer *t)