summaryrefslogtreecommitdiff
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-08-08 18:10:25 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2012-08-21 14:28:30 (GMT)
commite52b1db37b89b69ceb08b521a808bd2cf4724481 (patch)
tree9f37d5060e57f1b2746047c204b1c96725463f39 /lib/smp_processor_id.c
parenteec19d1a0d04c80e66eef634f7b8f460f2ca5643 (diff)
downloadlinux-e52b1db37b89b69ceb08b521a808bd2cf4724481.tar.xz
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 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions