include/linux/printk.h: add pr_<level>_once macros
authorJoe Perches <joe@perches.com>
Thu, 13 Jan 2011 00:59:46 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:09 +0000 (08:03 -0800)
commit16cb839f13324978bd58082e69de81a711802b11
treeeb59fdf9deea125a432c50d7cb8f7f733bd58681
parent5264f2f75d8678f3e9683042a4639baa5884bda9
include/linux/printk.h: add pr_<level>_once macros

- Move printk_once definitions and add an #ifdef CONFIG_PRINTK

- Add pr_<level>_once so printks can use pr_fmt

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>
include/linux/printk.h