diff options
author | Anna-Maria Gleixner <anna-maria@linutronix.de> | 2017-12-21 13:41:36 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-01-16 04:35:45 +0300 |
commit | 19b51cb5ff6ab7957bcbbec4ff812b83208f7e99 (patch) | |
tree | 0018c64dfe5a46f0ecb59b87f5c6587e955c03cd /include/trace | |
parent | 48d0c9becc7f3c66874c100c126459a9da0fdced (diff) | |
download | linux-19b51cb5ff6ab7957bcbbec4ff812b83208f7e99.tar.xz |
hrtimer: Clean up 'enum hrtimer_mode'
It's not obvious that the HRTIMER_MODE variants are bit combinations,
because all modes are hard coded constants currently.
Change it so the bit meanings are clear; and use the symbols for creating
modes which combine bits.
While at it get rid of the ugly tail comments as well.
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: keescook@chromium.org
Link: http://lkml.kernel.org/r/20171221104205.7269-8-anna-maria@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions