lkml.org 
[lkml]   [2015]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 19/35] clockevents: Remove the broadcast control leftovers
From: Thomas Gleixner <tglx@linutronix.de>

All users converted. Remove the notify leftovers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
include/linux/clockchips.h | 3 ---
kernel/time/clockevents.c | 10 ----------
2 files changed, 13 deletions(-)

Index: linux/include/linux/clockchips.h
===================================================================
--- linux.orig/include/linux/clockchips.h
+++ linux/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,
};
Index: linux/kernel/time/clockevents.c
===================================================================
--- linux.orig/kernel/time/clockevents.c
+++ linux/kernel/time/clockevents.c
@@ -585,16 +585,6 @@ int clockevents_notify(unsigned long rea
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);



\
 
 \ /
  Last update: 2015-02-16 14:41    [W:0.684 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site