[POWERPC] Fix sparse warnings in arch/powerpc/mm
Make two vmemmap helpers static in init_64.c Make stab variables static in stab.c Make psize defs static in hash_utils_64.c Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
5f25f06529
commit
09de9ff872
@@ -183,7 +183,7 @@ void pgtable_cache_init(void)
|
||||
* do this by hand as the proffered address may not be correctly aligned.
|
||||
* Subtraction of non-aligned pointers produces undefined results.
|
||||
*/
|
||||
unsigned long __meminit vmemmap_section_start(unsigned long page)
|
||||
static unsigned long __meminit vmemmap_section_start(unsigned long page)
|
||||
{
|
||||
unsigned long offset = page - ((unsigned long)(vmemmap));
|
||||
|
||||
@@ -196,7 +196,7 @@ unsigned long __meminit vmemmap_section_start(unsigned long page)
|
||||
* which overlaps this vmemmap page is initialised then this page is
|
||||
* initialised already.
|
||||
*/
|
||||
int __meminit vmemmap_populated(unsigned long start, int page_size)
|
||||
static int __meminit vmemmap_populated(unsigned long start, int page_size)
|
||||
{
|
||||
unsigned long end = start + page_size;
|
||||
|
||||
|
Reference in New Issue
Block a user