summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/pgtable-64.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-02-18 17:27:34 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-02-18 22:31:36 +0100
commit6a1e552947b0d73310e534bf4eb09e14db1e5056 (patch)
tree384116e93db93b15ce026bb63d43943614ee2611 /arch/mips/mm/pgtable-64.c
parent[MIPS] Make kernel_thread_helper() static (diff)
downloadlinux-6a1e552947b0d73310e534bf4eb09e14db1e5056.tar.xz
linux-6a1e552947b0d73310e534bf4eb09e14db1e5056.zip
[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 'arch/mips/mm/pgtable-64.c')
-rw-r--r--arch/mips/mm/pgtable-64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/pgtable-64.c b/arch/mips/mm/pgtable-64.c
index c46eb651bf09..e4b565aeb008 100644
--- a/arch/mips/mm/pgtable-64.c
+++ b/arch/mips/mm/pgtable-64.c
@@ -10,6 +10,7 @@
#include <linux/mm.h>
#include <asm/fixmap.h>
#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
void pgd_init(unsigned long page)
{