summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip27/ip27-memory.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-02-19 01:27:34 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-02-18 21:31:36 +0000
commit6a1e552947b0d73310e534bf4eb09e14db1e5056 (patch)
tree384116e93db93b15ce026bb63d43943614ee2611 /arch/mips/sgi-ip27/ip27-memory.c
parentdb0b937daf9bee741aa8fd488ea657872b9579fe (diff)
downloadop-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 'arch/mips/sgi-ip27/ip27-memory.c')
-rw-r--r--arch/mips/sgi-ip27/ip27-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-memory.c b/arch/mips/sgi-ip27/ip27-memory.c
index 0e3d535..fe8a106 100644
--- a/arch/mips/sgi-ip27/ip27-memory.c
+++ b/arch/mips/sgi-ip27/ip27-memory.c
@@ -21,6 +21,7 @@
#include <linux/pfn.h>
#include <linux/highmem.h>
#include <asm/page.h>
+#include <asm/pgalloc.h>
#include <asm/sections.h>
#include <asm/sn/arch.h>
@@ -503,7 +504,6 @@ void __init prom_free_prom_memory(void)
/* We got nothing to free here ... */
}
-extern void pagetable_init(void);
extern unsigned long setup_zero_pages(void);
void __init paging_init(void)
OpenPOWER on IntegriCloud