From: Joe Perches Date: Thu, 13 Jan 2011 00:59:43 +0000 (-0800) Subject: include/linux/printk.h: move console functions and variables together X-Git-Tag: v2.6.38-rc1~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9747cc3addf81e56ea9b8a4374fbdb9d1737eae;p=pandora-kernel.git include/linux/printk.h: move console functions and variables together There are many uses of printk_once(KERN_, so add pr__once macros to avoid printk_once(KERN_ 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 Cc: Matt Mackall Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed