summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-08-08 11:10:25 -0700
committerThomas Gleixner <tglx@linutronix.de>2012-08-21 16:28:30 +0200
commite52b1db37b89b69ceb08b521a808bd2cf4724481 (patch)
tree9f37d5060e57f1b2746047c204b1c96725463f39 /arch
parenteec19d1a0d04c80e66eef634f7b8f460f2ca5643 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud