Skip to content
Commit e99aa461 authored by Alex Elder's avatar Alex Elder Committed by Linus Torvalds
Browse files

printk: use a clever macro



Use the IS_ENABLED() macro rather than #ifdef blocks to set certain
global values.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.cz>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0b90fec3
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