From: Andrew Morton <akpm@linux-foundation.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: linux-kernel@vger.kernel.org, Richard Weinberger <richard@nod.at>,
kernel@pengutronix.de
Subject: Re: init-mainc-convert-to-pr_foo.patch is IMHO broken
Date: Tue, 23 Apr 2013 12:26:17 -0700 [thread overview]
Message-ID: <20130423122617.c96d332c2b0c41ea6cf82998@linux-foundation.org> (raw)
In-Reply-To: <20130423191839.GK15233@pengutronix.de>
On Tue, 23 Apr 2013 21:18:39 +0200 Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de> wrote:
> Hello,
>
> init-mainc-convert-to-pr_foo.patch breaks the initcall_debug kernel
> parameter. Before the patch I could add
>
> initcall_debug ignore_loglevel
>
> to the kernel command line and got some additional output about
> initcalls. Now that init/main.c uses pr_debug instead of
> printk(KERN_DEBUG ...) the interesting statements are not compiled in
> any more.
>
huh. pr_debug() is different from all the other pr_foo()s. I never
noticed that.
This?
--- a/init/main.c~init-mainc-convert-to-pr_foo-fix
+++ a/init/main.c
@@ -9,6 +9,8 @@
* Simplified starting of init: Michael A. Griffith <grif@acm.org>
*/
+#define DEBUG
+
#include <linux/types.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
_
prev parent reply other threads:[~2013-04-23 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 19:18 Uwe Kleine-König
2013-04-23 19:26 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130423122617.c96d332c2b0c41ea6cf82998@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=richard@nod.at \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®