Skip to content
Commit 266c2e0a authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5f7b703f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment