From: Thomas Gleixner <tglx@linutronix.de>
To: Adrian Bunk <bunk@kernel.org>
Cc: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] x86/mm/discontig_32.c: make code static
Date: Thu, 25 Oct 2007 11:40:09 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.0.9999.0710251139490.3186@localhost.localdomain> (raw)
In-Reply-To: <20071024162447.GP30533@stusta.de>
On Wed, 24 Oct 2007, Adrian Bunk wrote:
> node0_bdata and paddr_to_nid() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Thanks, applied.
tglx
> ---
>
> arch/x86/mm/discontig_32.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> 3380c9e430ab49db51bea06835e4b058f573d7b5
> diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c
> index fe608a4..13a474d 100644
> --- a/arch/x86/mm/discontig_32.c
> +++ b/arch/x86/mm/discontig_32.c
> @@ -40,7 +40,7 @@
>
> struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
> EXPORT_SYMBOL(node_data);
> -bootmem_data_t node0_bdata;
> +static bootmem_data_t node0_bdata;
>
> /*
> * numa interface - we expect the numa architecture specific code to have
> @@ -404,7 +404,7 @@ void __init set_highmem_pages_init(int bad_ppro)
> }
>
> #ifdef CONFIG_MEMORY_HOTPLUG
> -int paddr_to_nid(u64 addr)
> +static int paddr_to_nid(u64 addr)
> {
> int nid;
> unsigned long pfn = PFN_DOWN(addr);
>
prev parent reply other threads:[~2007-10-25 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 16:24 Adrian Bunk
2007-10-25 9:40 ` Thomas Gleixner [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=alpine.LFD.0.9999.0710251139490.3186@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=bunk@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/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®