aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2015-04-03 02:36:10 +0200
committerIngo Molnar <[email protected]>2015-04-03 08:44:36 +0200
commitffa48c0d76803057ee89bf220305466d74256d7b (patch)
tree33ff1d00f7dc001a33b1e2b9a8fc3593fff79185
parent335f49196fd6011521f078cb44f445847e5aa183 (diff)
clockevents: Remove broadcast oneshot control leftovers
Now that all users are converted over to explicit calls into the clockevents state machine, remove the notification chain leftovers. Original-from: Thomas Gleixner <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Cc: John Stultz <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--include/linux/clockchips.h2
-rw-r--r--kernel/time/clockevents.c7
2 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index 438fafa75067..f97f498a5d10 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -11,8 +11,6 @@
/* Clock event notification values */
enum clock_event_nofitiers {
CLOCK_EVT_NOTIFY_ADD,
- CLOCK_EVT_NOTIFY_BROADCAST_ENTER,
- CLOCK_EVT_NOTIFY_BROADCAST_EXIT,
CLOCK_EVT_NOTIFY_CPU_DYING,
CLOCK_EVT_NOTIFY_CPU_DEAD,
};
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 7791b1c94ef2..be9abf32c0b9 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -655,13 +655,6 @@ int clockevents_notify(unsigned long reason, void *arg)
raw_spin_lock_irqsave(&clockevents_lock, flags);
switch (reason) {
- case CLOCK_EVT_NOTIFY_BROADCAST_ENTER:
- tick_broadcast_enter();
- break;
- case CLOCK_EVT_NOTIFY_BROADCAST_EXIT:
- tick_broadcast_exit();
- break;
-
case CLOCK_EVT_NOTIFY_CPU_DYING:
tick_handover_do_timer(arg);
break;