diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-06-02 14:30:11 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-06-02 16:56:42 +0200 |
commit | be3ef76e9d9b97962c70bd6351787d29071ae481 (patch) | |
tree | 20369afc74d35706bbd57c841c87bcf05a027a81 /kernel | |
parent | 051ebd101b05c09d9b5b673e19fb0586e9bfec56 (diff) | |
download | op-kernel-dev-be3ef76e9d9b97962c70bd6351787d29071ae481.zip op-kernel-dev-be3ef76e9d9b97962c70bd6351787d29071ae481.tar.gz |
clockevents: Rename state to state_use_accessors
The only sensible way to make abuse of core internal fields obvious
and easy to grep for.
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')
-rw-r--r-- | kernel/time/tick-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h index 4461de9..ec2208a 100644 --- a/kernel/time/tick-internal.h +++ b/kernel/time/tick-internal.h @@ -38,13 +38,13 @@ static inline int tick_device_is_functional(struct clock_event_device *dev) static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) { - return dev->state; + return dev->state_use_accessors; } static inline void clockevent_set_state(struct clock_event_device *dev, enum clock_event_state state) { - dev->state = state; + dev->state_use_accessors = state; } extern void clockevents_shutdown(struct clock_event_device *dev); |