summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/pgtable_32.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 23:39:18 +0400
committerDavid S. Miller <davem@davemloft.net>2014-04-29 09:12:24 +0400
commit4c9660f796fca741013e9ea7fc32db0638d0d193 (patch)
treee2b3fbd55aeaf359364ddc567a8aadcbc136bf05 /arch/sparc/include/asm/pgtable_32.h
parente1b2f134883718312ee30775ad077c2186eeaedc (diff)
downloadlinux-4c9660f796fca741013e9ea7fc32db0638d0d193.tar.xz
sparc32: fix sparse warning in init_32.c
Fix following warning: init_32.c:112:22: warning: symbol 'bootmem_init' was not declared. Should it be static? Fix by adding a proper prototype in pgtable_32.h and drop the local prototype in srmmu.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/pgtable_32.h')
-rw-r--r--arch/sparc/include/asm/pgtable_32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/pgtable_32.h b/arch/sparc/include/asm/pgtable_32.h
index 502f632f6cc7..16629e7cb09e 100644
--- a/arch/sparc/include/asm/pgtable_32.h
+++ b/arch/sparc/include/asm/pgtable_32.h
@@ -27,6 +27,7 @@ struct page;
extern void load_mmu(void);
extern unsigned long calc_highpages(void);
+unsigned long __init bootmem_init(unsigned long *pages_avail);
#define pte_ERROR(e) __builtin_trap()
#define pmd_ERROR(e) __builtin_trap()