summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-03 02:03:42 +0200
committerIngo Molnar <mingo@kernel.org>2015-04-03 08:44:33 +0200
commit89feddbfe7023ccfb4a6d7f5e3f5161d91b28b18 (patch)
tree867cbcc78b5a0cc8fbc7d2342f781c0a78e70ebe
parentfa8589fe3bfafadd80677c8eabae97dc5dab22c0 (diff)
clockevents: Remove the broadcast control leftovers
All users converted. Remove the notify leftovers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/2076318.76XJZ8QYP3@vostro.rjw.lan Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--include/linux/clockchips.h3
-rw-r--r--kernel/time/clockevents.c10
2 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index caeca76d7b32..438fafa75067 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -11,9 +11,6 @@
/* Clock event notification values */
enum clock_event_nofitiers {
CLOCK_EVT_NOTIFY_ADD,
- CLOCK_EVT_NOTIFY_BROADCAST_ON,
- CLOCK_EVT_NOTIFY_BROADCAST_OFF,
- CLOCK_EVT_NOTIFY_BROADCAST_FORCE,
CLOCK_EVT_NOTIFY_BROADCAST_ENTER,
CLOCK_EVT_NOTIFY_BROADCAST_EXIT,
CLOCK_EVT_NOTIFY_CPU_DYING,
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 599ff8d3fda5..dba0b83708b3 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -655,16 +655,6 @@ int clockevents_notify(unsigned long reason, void *arg)
raw_spin_lock_irqsave(&clockevents_lock, flags);
switch (reason) {
- case CLOCK_EVT_NOTIFY_BROADCAST_ON:
- tick_broadcast_enable();
- break;
- case CLOCK_EVT_NOTIFY_BROADCAST_OFF:
- tick_broadcast_disable();
- break;
- case CLOCK_EVT_NOTIFY_BROADCAST_FORCE:
- tick_broadcast_force();
- break;
-
case CLOCK_EVT_NOTIFY_BROADCAST_ENTER:
case CLOCK_EVT_NOTIFY_BROADCAST_EXIT:
ret = tick_broadcast_oneshot_control(reason);