From: Olof Johansson <olof@lixom•net>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: ppc-dev <linuxppc-dev@ozlabs•org>, paulus@samba•org
Subject: Re: [PATCH] [POWERPC] Silence an annoying boot message
Date: Sun, 11 Nov 2007 23:15:32 -0600 [thread overview]
Message-ID: <20071112051532.GA28394@lixom.net> (raw)
In-Reply-To: <20071112135339.9a01b115.sfr@canb.auug.org.au>
Hi Stephen,
On Mon, Nov 12, 2007 at 01:53:39PM +1100, Stephen Rothwell wrote:
> vmemmap_populate will printk (with KERN_WARNING) for a lot of pages
> if CONFIG_SPARSEMEM_VMEMMAP is enabled (at least it does on iSeries).
> Turn it into a DEBUG message.
[...]
> diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
> index d9c82d3..ee0e0cc 100644
> --- a/arch/powerpc/mm/init_64.c
> +++ b/arch/powerpc/mm/init_64.c
> @@ -239,7 +239,7 @@ int __meminit vmemmap_populate(struct page *start_page,
> if (!p)
> return -ENOMEM;
>
> - printk(KERN_WARNING "vmemmap %08lx allocated at %p, "
> + DBG(KERN_DEBUG "vmemmap %08lx allocated at %p, "
> "physical %08lx.\n", start, p, __pa(p));
Please use pr_debug() instead.
Feel free to change the only other DBG() user in the file as well,
and take out the define of it
-Olof
next prev parent reply other threads:[~2007-11-12 5:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 2:53 [PATCH] [POWERPC] Silence an annoying boot message Stephen Rothwell
2007-11-12 5:15 ` Olof Johansson [this message]
2007-11-12 8:52 ` Benjamin Herrenschmidt
2007-11-13 4:41 ` Stephen Rothwell
2007-11-13 4:51 ` Olof Johansson
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=20071112051532.GA28394@lixom.net \
--to=olof@lixom$(echo .)net \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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