clockevents: Remove broadcast oneshot control leftovers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Apr 2015 00:36:10 +0000 (02:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:44:36 +0000 (08:44 +0200)
Now that all users are converted over to explicit calls into the
clockevents state machine, remove the notification chain leftovers.

Original-from: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/14018863.NQUzkFuafr@vostro.rjw.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/clockchips.h
kernel/time/clockevents.c

index 438fafa750674f416afe60500cfb1292ad189a65..f97f498a5d10677941d348c06fbda8523f64a299 100644 (file)
@@ -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,
 };
index 7791b1c94ef2e9f3e87b5dee7858d1c946ed9d4e..be9abf32c0b96217c5da603116ee4b6ec9339fd9 100644 (file)
@@ -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;