Skip to content

Commit

Permalink
x86: mm/discontig_32.c: make code static
Browse files Browse the repository at this point in the history
node0_bdata and paddr_to_nid() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Adrian Bunk authored and Thomas Gleixner committed Oct 29, 2007
1 parent f1aa14b commit fb8c177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/mm/discontig_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fb8c177

Please sign in to comment.