aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2011-01-13 00:59:43 +0000
committerLinus Torvalds <[email protected]>2011-01-13 16:03:09 +0000
commita9747cc3addf81e56ea9b8a4374fbdb9d1737eae (patch)
treefe163341b5c80ea2f597095c609eec959ee3e728 /lib/flex_array.c
parentprintk: use RCU to prevent potential lock contention in kmsg_dump (diff)
downloadkernel-a9747cc3addf81e56ea9b8a4374fbdb9d1737eae.tar.gz
kernel-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 <[email protected]> Cc: Matt Mackall <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions