projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1aa14b
)
x86: mm/discontig_32.c: make code static
author
Adrian Bunk
<
[email protected]
>
Wed, 24 Oct 2007 16:24:47 +0000
(18:24 +0200)
committer
Thomas Gleixner
<
[email protected]
>
Mon, 29 Oct 2007 23:22:22 +0000
(
00:22
+0100)
node0_bdata and paddr_to_nid() can become static.
Signed-off-by: Adrian Bunk <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
arch/x86/mm/discontig_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/discontig_32.c
b/arch/x86/mm/discontig_32.c
index fe608a45ffb66956e67b31b60d80b1c83bfa408f..13a474d3c6e9732d742fb389c7202477c2fa9fda 100644
(file)
--- 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);