aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
-rw-r--r--arch/powerpc/mm/init_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index c5ac532a0161..1e52e97d7409 100644
--- a/arch/powerpc/mm/init_64.c
+++ b/arch/powerpc/mm/init_64.c
@@ -183,7 +183,7 @@ void pgtable_cache_init(void)
183 * do this by hand as the proffered address may not be correctly aligned. 183 * do this by hand as the proffered address may not be correctly aligned.
184 * Subtraction of non-aligned pointers produces undefined results. 184 * Subtraction of non-aligned pointers produces undefined results.
185 */ 185 */
186unsigned long __meminit vmemmap_section_start(unsigned long page) 186static unsigned long __meminit vmemmap_section_start(unsigned long page)
187{ 187{
188 unsigned long offset = page - ((unsigned long)(vmemmap)); 188 unsigned long offset = page - ((unsigned long)(vmemmap));
189 189
@@ -196,7 +196,7 @@ unsigned long __meminit vmemmap_section_start(unsigned long page)
196 * which overlaps this vmemmap page is initialised then this page is 196 * which overlaps this vmemmap page is initialised then this page is
197 * initialised already. 197 * initialised already.
198 */ 198 */
199int __meminit vmemmap_populated(unsigned long start, int page_size) 199static int __meminit vmemmap_populated(unsigned long start, int page_size)
200{ 200{
201 unsigned long end = start + page_size; 201 unsigned long end = start + page_size;
202 202