[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-234b3840d73430564a03f53973a311b7a83a95a9@git.kernel.org>
Date: Thu, 2 Aug 2018 05:58:18 -0700
From: tip-bot for Sudeep Holla <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org, mingo@...nel.org,
sudeep.holla@....com, hpa@...or.com
Subject: [tip:timers/core] tick/broadcast-hrtimer: Use cpu_possible_mask for
ce_broadcast_hrtimer
Commit-ID: 234b3840d73430564a03f53973a311b7a83a95a9
Gitweb: https://git.kernel.org/tip/234b3840d73430564a03f53973a311b7a83a95a9
Author: Sudeep Holla <sudeep.holla@....com>
AuthorDate: Wed, 11 Jul 2018 12:24:23 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Thu, 2 Aug 2018 14:55:52 +0200
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 <sudeep.holla@....com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-arm-kernel@...ts.infradead.org
Link: https://lkml.kernel.org/r/1531308264-24220-2-git-send-email-sudeep.holla@arm.com
---
kernel/time/tick-broadcast-hrtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/tick-broadcast-hrtimer.c b/kernel/time/tick-broadcast-hrtimer.c
index 58045eb976c3..a59641fb88b6 100644
--- a/kernel/time/tick-broadcast-hrtimer.c
+++ b/kernel/time/tick-broadcast-hrtimer.c
@@ -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)
Powered by blists - more mailing lists