summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/page.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-10-14 09:06:22 +0400
committerGreg Ungerer <gerg@uclinux.org>2011-12-30 04:20:23 +0400
commit88be3515934004d271398129ba7145635e95127e (patch)
tree2f0acd6549102caea50bdc1e6c395496e9881ddf /arch/m68k/include/asm/page.h
parent0079fe7502b45c2dbec6d04541e637484191c393 (diff)
downloadlinux-88be3515934004d271398129ba7145635e95127e.tar.xz
m68k: add ColdFire 54xx CPU MMU memory init code
Add code to the 54xx ColdFire CPU init to setup memory ready for the m68k paged memory start up. Some of the RAM variables that were specific to the non-mmu code paths now need to be used during this setup, so when CONFIG_MMU is enabled. Move these out of page_no.h and into page.h. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Matt Waddel <mwaddel@yahoo.com> Acked-by: Kurt Mahan <kmahan@xmission.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/page.h')
-rw-r--r--arch/m68k/include/asm/page.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/page.h b/arch/m68k/include/asm/page.h
index dfebb7c1e379..ba6c91d5f3a9 100644
--- a/arch/m68k/include/asm/page.h
+++ b/arch/m68k/include/asm/page.h
@@ -36,6 +36,10 @@ typedef struct page *pgtable_t;
#define __pgd(x) ((pgd_t) { (x) } )
#define __pgprot(x) ((pgprot_t) { (x) } )
+extern unsigned long _rambase;
+extern unsigned long _ramstart;
+extern unsigned long _ramend;
+
#endif /* !__ASSEMBLY__ */
#ifdef CONFIG_MMU