diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-12 08:04:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 11:32:04 -0700 |
commit | 37743487704322e0d5bbf7e003d28c143fcc2a2b (patch) | |
tree | 3a51d9af42a26342be29fe9744af020f1da70a78 /arch/sparc/include/asm/pgalloc_32.h | |
parent | 34d4accfe0ed62d3a8e3dc28eec193d6085f9563 (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/include/asm/pgalloc_32.h')
-rw-r--r-- | arch/sparc/include/asm/pgalloc_32.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/pgalloc_32.h b/arch/sparc/include/asm/pgalloc_32.h index ca2b34456c4..d7ec897eae5 100644 --- a/arch/sparc/include/asm/pgalloc_32.h +++ b/arch/sparc/include/asm/pgalloc_32.h @@ -21,9 +21,7 @@ extern struct pgtable_cache_struct { #define pgtable_cache_size (pgt_quicklists.pgtable_cache_sz) #define pgd_cache_size (pgt_quicklists.pgd_cache_sz) -extern void check_pgt_cache(void); -BTFIXUPDEF_CALL(void, do_check_pgt_cache, int, int) -#define do_check_pgt_cache(low,high) BTFIXUP_CALL(do_check_pgt_cache)(low,high) +#define check_pgt_cache() do { } while (0) BTFIXUPDEF_CALL(pgd_t *, get_pgd_fast, void) #define get_pgd_fast() BTFIXUP_CALL(get_pgd_fast)() |