diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-02-19 01:27:34 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-18 21:31:36 +0000 |
commit | 6a1e552947b0d73310e534bf4eb09e14db1e5056 (patch) | |
tree | 384116e93db93b15ce026bb63d43943614ee2611 /include | |
parent | db0b937daf9bee741aa8fd488ea657872b9579fe (diff) | |
download | op-kernel-dev-6a1e552947b0d73310e534bf4eb09e14db1e5056.zip op-kernel-dev-6a1e552947b0d73310e534bf4eb09e14db1e5056.tar.gz |
[MIPS] Add external declaration of pagetable_init() to pgalloc.h
This fixes some sparse warnings.
pgtable-32.c:15:6: warning: symbol 'pgd_init' was not declared. Should it be static?
pgtable-32.c:32:13: warning: symbol 'pagetable_init' was not declared. Should it be static?
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/pgalloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/pgalloc.h b/include/asm-mips/pgalloc.h index af121c6..5685d4f 100644 --- a/include/asm-mips/pgalloc.h +++ b/include/asm-mips/pgalloc.h @@ -130,4 +130,6 @@ static inline void pmd_free(pmd_t *pmd) #define check_pgt_cache() do { } while (0) +extern void pagetable_init(void); + #endif /* _ASM_PGALLOC_H */ |