aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-03-01 11:33:37 -0500
committerIngo Molnar <mingo@kernel.org>2018-03-13 02:34:23 -0400
commit127bfa5f4342e63d83a0b07ece376c2e8878e4a5 (patch)
tree238052e523cbafe07a82b4ef9406896bdffa0134 /include/linux/hrtimer.h
parent7250a4047aa6106006c2c9b5aff91d7d3fb77962 (diff)
hrtimer: Unify MONOTONIC and BOOTTIME clock behavior
Now that th MONOTONIC and BOOTTIME clocks are indentical remove all the special casing. The user space visible interfaces still support both clocks, but their behavior is identical. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kevin Easton <kevin@guarana.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mark Salyzyn <salyzyn@android.com> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Petr Mladek <pmladek@suse.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20180301165150.410218515@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index c7902ca7c9f4..78f456fcd242 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -161,11 +161,9 @@ struct hrtimer_clock_base {
161enum hrtimer_base_type { 161enum hrtimer_base_type {
162 HRTIMER_BASE_MONOTONIC, 162 HRTIMER_BASE_MONOTONIC,
163 HRTIMER_BASE_REALTIME, 163 HRTIMER_BASE_REALTIME,
164 HRTIMER_BASE_BOOTTIME,
165 HRTIMER_BASE_TAI, 164 HRTIMER_BASE_TAI,
166 HRTIMER_BASE_MONOTONIC_SOFT, 165 HRTIMER_BASE_MONOTONIC_SOFT,
167 HRTIMER_BASE_REALTIME_SOFT, 166 HRTIMER_BASE_REALTIME_SOFT,
168 HRTIMER_BASE_BOOTTIME_SOFT,
169 HRTIMER_BASE_TAI_SOFT, 167 HRTIMER_BASE_TAI_SOFT,
170 HRTIMER_MAX_CLOCK_BASES, 168 HRTIMER_MAX_CLOCK_BASES,
171}; 169};