]> 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, 24 Apr 2014 22:56:04 +0000 (08:56 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Apr 2014 22:56:04 +0000 (08:56 +1000)
commit83f8f72d224a5733157768867a0a316446eaba63
tree3f8abdc098c86664d5c0db06b3616904f57b25f8
parentfd53b1e55f95410784db90c1843d52a68c8299dc
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