summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/srmmu.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-12 08:04:12 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-12 11:32:04 -0700
commit37743487704322e0d5bbf7e003d28c143fcc2a2b (patch)
tree3a51d9af42a26342be29fe9744af020f1da70a78 /arch/sparc/mm/srmmu.c
parent34d4accfe0ed62d3a8e3dc28eec193d6085f9563 (diff)
downloadtalos-obmc-linux-37743487704322e0d5bbf7e003d28c143fcc2a2b.tar.gz
talos-obmc-linux-37743487704322e0d5bbf7e003d28c143fcc2a2b.zip
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)
srmmu_is_bad();
}
-/* don't laugh, static pagetables */
-static void srmmu_check_pgt_cache(int low, int high)
-{
-}
-
extern unsigned long spwin_mmu_patchme, fwin_mmu_patchme,
tsetup_mmu_patchme, rtrap_mmu_patchme;
@@ -2168,7 +2163,6 @@ void __init ld_mmu_srmmu(void)
#ifndef CONFIG_SMP
BTFIXUPSET_CALL(___xchg32, ___xchg32_sun4md, BTFIXUPCALL_SWAPG1G2);
#endif
- BTFIXUPSET_CALL(do_check_pgt_cache, srmmu_check_pgt_cache, BTFIXUPCALL_NOP);
BTFIXUPSET_CALL(set_pte, srmmu_set_pte, BTFIXUPCALL_SWAPO0O1);
OpenPOWER on IntegriCloud