aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/srmmu.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-12 04:04:12 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 14:32:04 -0400
commit37743487704322e0d5bbf7e003d28c143fcc2a2b (patch)
tree3a51d9af42a26342be29fe9744af020f1da70a78 /arch/sparc/mm/srmmu.c
parent34d4accfe0ed62d3a8e3dc28eec193d6085f9563 (diff)
sparc32: drop btfixup for check_pgt_cache
It is a noop for srmmu - so use a define as sparc64 does. And drop all sparc callers - no need to confuse our-self be calling a noop function. 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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c
index 85d7f82e5785..cb18fa80b19c 100644
--- a/arch/sparc/mm/srmmu.c
+++ b/arch/sparc/mm/srmmu.c
@@ -2122,11 +2122,6 @@ static void __init get_srmmu_type(void)
2122 srmmu_is_bad(); 2122 srmmu_is_bad();
2123} 2123}
2124 2124
2125/* don't laugh, static pagetables */
2126static void srmmu_check_pgt_cache(int low, int high)
2127{
2128}
2129
2130extern unsigned long spwin_mmu_patchme, fwin_mmu_patchme, 2125extern unsigned long spwin_mmu_patchme, fwin_mmu_patchme,
2131 tsetup_mmu_patchme, rtrap_mmu_patchme; 2126 tsetup_mmu_patchme, rtrap_mmu_patchme;
2132 2127
@@ -2168,7 +2163,6 @@ void __init ld_mmu_srmmu(void)
2168#ifndef CONFIG_SMP 2163#ifndef CONFIG_SMP
2169 BTFIXUPSET_CALL(___xchg32, ___xchg32_sun4md, BTFIXUPCALL_SWAPG1G2); 2164 BTFIXUPSET_CALL(___xchg32, ___xchg32_sun4md, BTFIXUPCALL_SWAPG1G2);
2170#endif 2165#endif
2171 BTFIXUPSET_CALL(do_check_pgt_cache, srmmu_check_pgt_cache, BTFIXUPCALL_NOP);
2172 2166
2173 BTFIXUPSET_CALL(set_pte, srmmu_set_pte, BTFIXUPCALL_SWAPO0O1); 2167 BTFIXUPSET_CALL(set_pte, srmmu_set_pte, BTFIXUPCALL_SWAPO0O1);
2174 2168