diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-06-02 14:13:46 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-06-02 14:40:48 +0200 |
commit | 051ebd101b05c09d9b5b673e19fb0586e9bfec56 (patch) | |
tree | f34db44cf8e21fe870fc494eedc73ca09861f2f5 /kernel/time/tick-common.c | |
parent | clockevents: Provide functions to set and get the state (diff) | |
download | linux-051ebd101b05c09d9b5b673e19fb0586e9bfec56.tar.xz linux-051ebd101b05c09d9b5b673e19fb0586e9bfec56.zip |
clockevents: Use set/get state helper functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'kernel/time/tick-common.c')
-rw-r--r-- | kernel/time/tick-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c index 311e2e133517..17f144450050 100644 --- a/kernel/time/tick-common.c +++ b/kernel/time/tick-common.c @@ -377,7 +377,7 @@ void tick_shutdown(unsigned int cpu) * Prevent that the clock events layer tries to call * the set mode function! */ - dev->state = CLOCK_EVT_STATE_DETACHED; + clockevent_set_state(dev, CLOCK_EVT_STATE_DETACHED); dev->mode = CLOCK_EVT_MODE_UNUSED; clockevents_exchange_device(dev, NULL); dev->event_handler = clockevents_handle_noop; |