commit | 266c2e0abeca649fa6667a1a427ad1da507c6375 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Mon Mar 24 19:25:08 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Mar 24 19:25:08 2008 -0700 |
tree | 9eb832b4c5de234cc789eae00a36a1337cefe451 | |
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>