Skip to content

Commit ffa48c0

Browse files
rafaeljwingomolnar
authored andcommitted
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 <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>
1 parent 335f491 commit ffa48c0

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

‎include/linux/clockchips.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
/* Clock event notification values */
1212
enum clock_event_nofitiers {
1313
CLOCK_EVT_NOTIFY_ADD,
14-
CLOCK_EVT_NOTIFY_BROADCAST_ENTER,
15-
CLOCK_EVT_NOTIFY_BROADCAST_EXIT,
1614
CLOCK_EVT_NOTIFY_CPU_DYING,
1715
CLOCK_EVT_NOTIFY_CPU_DEAD,
1816
};

‎kernel/time/clockevents.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -655,13 +655,6 @@ int clockevents_notify(unsigned long reason, void *arg)
655655
raw_spin_lock_irqsave(&clockevents_lock, flags);
656656

657657
switch (reason) {
658-
case CLOCK_EVT_NOTIFY_BROADCAST_ENTER:
659-
tick_broadcast_enter();
660-
break;
661-
case CLOCK_EVT_NOTIFY_BROADCAST_EXIT:
662-
tick_broadcast_exit();
663-
break;
664-
665658
case CLOCK_EVT_NOTIFY_CPU_DYING:
666659
tick_handover_do_timer(arg);
667660
break;

0 commit comments

Comments
 (0)