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>
This commit is contained in:

committed by
David S. Miller

parent
34d4accfe0
commit
3774348770
@@ -285,22 +285,6 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
|
||||
return max_pfn;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
|
Reference in New Issue
Block a user