]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/printk.h: use and neaten no_printk
authorJoe Perches <joe@perches.com>
Thu, 13 Jan 2011 00:59:45 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:09 +0000 (08:03 -0800)
commit06bbf45b020342cd6d6806b7f7a10def04067a01
tree1c50abbe3179ece00cbb14623d7724602fa17f8c
parent13ab4d37b82c5cc5b9ceddd6de5445e954e4e2f3
include/linux/printk.h: use and neaten no_printk

- Move no_printk above first CONFIG_PRINTK block so it can be used by
  printk_once.

- Convert statement expression if (0) printk macros to no_printk.

- Convert printk_once(x...) to more normally used (fmt, ...) fmt,
  ##__VA_ARGS__.

- Standardize __attribute__ use.

- Expand single line inline functions.

- Remove space before pointer.

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