aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-03-24 22:25:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-24 22:25:08 -0400
commit266c2e0abeca649fa6667a1a427ad1da507c6375 (patch)
tree9eb832b4c5de234cc789eae00a36a1337cefe451 /lib/dec_and_lock.c
parent5f7b703fe2be40db5a2bf136ac9e44cf5db267cc (diff)
Make printk() console semaphore accesses sensible
The printk() logic on when/how to get the console semaphore was unreadable, this splits the code up into a few helper functions and makes it easier to follow what is going on. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions