lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 25 Oct 2007 11:40:09 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Adrian Bunk <bunk@...nel.org>
cc:	mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] x86/mm/discontig_32.c: make code static

On Wed, 24 Oct 2007, Adrian Bunk wrote:

> node0_bdata and paddr_to_nid() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@...nel.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);
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ