summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-01-13 01:59:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 17:03:09 +0100
commita9747cc3addf81e56ea9b8a4374fbdb9d1737eae (patch)
treefe163341b5c80ea2f597095c609eec959ee3e728 /drivers/video
parentprintk: use RCU to prevent potential lock contention in kmsg_dump (diff)
downloadlinux-a9747cc3addf81e56ea9b8a4374fbdb9d1737eae.tar.xz
linux-a9747cc3addf81e56ea9b8a4374fbdb9d1737eae.zip
include/linux/printk.h: move console functions and variables together
There are many uses of printk_once(KERN_<level>, so add pr_<level>_once macros to avoid printk_once(KERN_<level> pr_fmt(fmt). Add an #ifdef CONFIG_PRINTK for print_hex_dump and static inline void functions for the #else cases to reduce embedded code size. Neaten and organize the rest of the code. This patch: Move console functions and variables together. Signed-off-by: Joe Perches <joe@perches.com> Cc: Matt Mackall <mpm@selenic.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions