diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-17 12:04:36 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:15:56 -0400 |
commit | 59659f14b6e49b13eb4af870801af1511e33fafb (patch) | |
tree | 98112390cc7337118326af55d2b56a8d5841f84b /arch/x86/mm/discontig_32.c | |
parent | 6704ab1cd42269e536a6735db740e57e2c04c3b4 (diff) |
i386: make some variables static
This patch makes some needlessly global variables static.
[ tglx: arch/x86 adaptation ]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/mm/discontig_32.c')
-rw-r--r-- | arch/x86/mm/discontig_32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c index b1e45457d4ef..13893772cc48 100644 --- a/arch/x86/mm/discontig_32.c +++ b/arch/x86/mm/discontig_32.c | |||
@@ -103,14 +103,14 @@ extern unsigned long highend_pfn, highstart_pfn; | |||
103 | 103 | ||
104 | #define LARGE_PAGE_BYTES (PTRS_PER_PTE * PAGE_SIZE) | 104 | #define LARGE_PAGE_BYTES (PTRS_PER_PTE * PAGE_SIZE) |
105 | 105 | ||
106 | unsigned long node_remap_start_pfn[MAX_NUMNODES]; | 106 | static unsigned long node_remap_start_pfn[MAX_NUMNODES]; |
107 | unsigned long node_remap_size[MAX_NUMNODES]; | 107 | unsigned long node_remap_size[MAX_NUMNODES]; |
108 | unsigned long node_remap_offset[MAX_NUMNODES]; | 108 | static unsigned long node_remap_offset[MAX_NUMNODES]; |
109 | void *node_remap_start_vaddr[MAX_NUMNODES]; | 109 | static void *node_remap_start_vaddr[MAX_NUMNODES]; |
110 | void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags); | 110 | void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags); |
111 | 111 | ||
112 | void *node_remap_end_vaddr[MAX_NUMNODES]; | 112 | static void *node_remap_end_vaddr[MAX_NUMNODES]; |
113 | void *node_remap_alloc_vaddr[MAX_NUMNODES]; | 113 | static void *node_remap_alloc_vaddr[MAX_NUMNODES]; |
114 | static unsigned long kva_start_pfn; | 114 | static unsigned long kva_start_pfn; |
115 | static unsigned long kva_pages; | 115 | static unsigned long kva_pages; |
116 | /* | 116 | /* |