]> git.karo-electronics.de Git - karo-tx-linux.git/commit
init/main.c: don't use pr_debug()
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:44 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:44 +0000 (10:43 +1000)
commitc083b9ff4abe6db1db02e85ad35f52b68561efbd
tree0aef728da03a0bf81f967c16acf7932a372c9638
parentabe7144b4ae7c1fb8ae9f84fc7d8f924ad67ec37
init/main.c: don't use pr_debug()

Pertially revert ea676e846a8171b8 ("init/main.c: convert to pr_foo()").

Unbeknownst to me, pr_debug() is different from the other pr_foo() levels:
pr_debug() is a no-op when DEBUG is not defined.

Happily, init/main.c does have a #define DEBUG so we didn't break
initcall_debug.  But the functioning of initcall_debug should not be
dependent upon the presence of that #define DEBUG.

Reported-by: Russell King <rmk@arm.linux.org.uk>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
init/main.c