]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Make printk() console semaphore accesses sensible
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 Mar 2008 02:25:08 +0000 (19:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 Mar 2008 02:25:08 +0000 (19:25 -0700)
commit266c2e0abeca649fa6667a1a427ad1da507c6375
tree9eb832b4c5de234cc789eae00a36a1337cefe451
parent5f7b703fe2be40db5a2bf136ac9e44cf5db267cc
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>
kernel/printk.c