diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-24 22:25:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-24 22:25:08 -0400 |
commit | 266c2e0abeca649fa6667a1a427ad1da507c6375 (patch) | |
tree | 9eb832b4c5de234cc789eae00a36a1337cefe451 /lib/dec_and_lock.c | |
parent | 5f7b703fe2be40db5a2bf136ac9e44cf5db267cc (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