summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/init_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-12 12:04:12 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 22:32:04 +0400
commit37743487704322e0d5bbf7e003d28c143fcc2a2b (patch)
tree3a51d9af42a26342be29fe9744af020f1da70a78 /arch/sparc/mm/init_32.c
parent34d4accfe0ed62d3a8e3dc28eec193d6085f9563 (diff)
downloadlinux-37743487704322e0d5bbf7e003d28c143fcc2a2b.tar.xz
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/init_32.c')
-rw-r--r--arch/sparc/mm/init_32.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index 753676ccdc65..79b215e9b5ca 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -286,22 +286,6 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
}
/*
- * check_pgt_cache
- *
- * This is called at the end of unmapping of VMA (zap_page_range),
- * to rescan the page cache for architecture specific things.
- * Most architectures define check_pgt_cache empty.
- *
- * We simply copy the 2.4 implementation for now.
- */
-static int pgt_cache_water[2] = { 25, 50 };
-
-void check_pgt_cache(void)
-{
- do_check_pgt_cache(pgt_cache_water[0], pgt_cache_water[1]);
-}
-
-/*
* paging_init() sets up the page tables: We call the MMU specific
* init routine based upon the Sun model type on the Sparc.
*