diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-08 11:10:25 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-21 16:28:30 +0200 |
commit | e52b1db37b89b69ceb08b521a808bd2cf4724481 (patch) | |
tree | 9f37d5060e57f1b2746047c204b1c96725463f39 /arch | |
parent | eec19d1a0d04c80e66eef634f7b8f460f2ca5643 (diff) | |
download | blackbird-op-linux-e52b1db37b89b69ceb08b521a808bd2cf4724481.tar.gz blackbird-op-linux-e52b1db37b89b69ceb08b521a808bd2cf4724481.zip |
timer: Generalize timer->base flags handling
To prepare for addition of another flag, generalize timer->base flags
handling.
* Rename from TBASE_*_FLAG to TIMER_* and make them LU constants.
* Define and use TIMER_FLAG_MASK for flags masking so that multiple
flags can be handled correctly.
* Don't dereference timer->base directly even if
!tbase_get_deferrable(). All two such places are already passed in
@base, so use it instead.
* Make sure tvec_base's alignment is large enough for timer->base
flags using BUILD_BUG_ON().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: torvalds@linux-foundation.org
Cc: peterz@infradead.org
Link: http://lkml.kernel.org/r/1344449428-24962-2-git-send-email-tj@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions