summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/srmmu.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-12 20:35:52 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-12 22:30:49 +0200
commita3c5c6637bd7ddae34aa0cd8b6baf7cc33a8b163 (patch)
tree6896c7d4e37da6e7dafd61cfc322bd8cfa9e29a4 /arch/sparc/mm/srmmu.c
parentsparc32: Un-btfixup pmd_{bad,present}(). (diff)
downloadlinux-a3c5c6637bd7ddae34aa0cd8b6baf7cc33a8b163.tar.xz
linux-a3c5c6637bd7ddae34aa0cd8b6baf7cc33a8b163.zip
sparc32: drop loadmmu
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/srmmu.c')
-rw-r--r--arch/sparc/mm/srmmu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c
index 87e4d329c0ae..71abcc5d82b6 100644
--- a/arch/sparc/mm/srmmu.c
+++ b/arch/sparc/mm/srmmu.c
@@ -55,6 +55,10 @@ static unsigned int hwbug_bitmask;
int vac_cache_size;
int vac_line_size;
+struct ctx_list *ctx_list_pool;
+struct ctx_list ctx_free;
+struct ctx_list ctx_used;
+
extern struct resource sparc_iomap;
extern unsigned long last_valid_pfn;
@@ -2055,7 +2059,7 @@ static void smp_flush_page_for_dma(unsigned long page)
#endif
/* Load up routines and constants for sun4m and sun4d mmu */
-void __init ld_mmu_srmmu(void)
+void __init load_mmu(void)
{
extern void ld_mmu_iommu(void);
extern void ld_mmu_iounit(void);
@@ -2170,4 +2174,5 @@ void __init ld_mmu_srmmu(void)
else
sun4m_init_smp();
#endif
+ btfixup();
}