]> git.baikalelectronics.ru Git - kernel.git/commit
init/main.c: don't use pr_debug()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Jun 2014 23:12:16 +0000 (16:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:21 +0000 (16:54 -0700)
commit8c841e3d2e1ac97d3bba2484a0cdd39be3f56688
tree4e044b8690844396cb1b859d3900e170646ea4a8
parent28a4063be9d6d0b708b73effd2205cffa9470d67
init/main.c: don't use pr_debug()

Pertially revert commit eff35feb4748 ("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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c