diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-13 04:30:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-13 15:51:53 -0400 |
commit | b796c6da512c5c284c850e92c084725d5cecde63 (patch) | |
tree | cacb40936061d23d0a56aa61c16e76573865393f /arch/sparc | |
parent | 9701b264d3267b55ace45bc579eabefc7decfa57 (diff) |
sparc32: drop btfixup in mmu_context_32.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/mmu_context_32.h | 4 | ||||
-rw-r--r-- | arch/sparc/mm/srmmu.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/mmu_context_32.h b/arch/sparc/include/asm/mmu_context_32.h index 00379318165f..623b598bbdbf 100644 --- a/arch/sparc/include/asm/mmu_context_32.h +++ b/arch/sparc/include/asm/mmu_context_32.h | |||
@@ -23,9 +23,7 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) | |||
23 | * all the page tables have been flushed. Our job is to destroy | 23 | * all the page tables have been flushed. Our job is to destroy |
24 | * any remaining processor-specific state. | 24 | * any remaining processor-specific state. |
25 | */ | 25 | */ |
26 | BTFIXUPDEF_CALL(void, destroy_context, struct mm_struct *) | 26 | void destroy_context(struct mm_struct *mm); |
27 | |||
28 | #define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm) | ||
29 | 27 | ||
30 | /* Switch the current MM context. */ | 28 | /* Switch the current MM context. */ |
31 | void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, | 29 | void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, |
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index 32cec268c2c1..0a47b820cfa1 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
@@ -1222,7 +1222,7 @@ static void srmmu_update_mmu_cache(struct vm_area_struct * vma, unsigned long ad | |||
1222 | { | 1222 | { |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | static void srmmu_destroy_context(struct mm_struct *mm) | 1225 | void destroy_context(struct mm_struct *mm) |
1226 | { | 1226 | { |
1227 | 1227 | ||
1228 | if(mm->context != NO_CONTEXT) { | 1228 | if(mm->context != NO_CONTEXT) { |
@@ -1988,7 +1988,6 @@ void __init load_mmu(void) | |||
1988 | #endif | 1988 | #endif |
1989 | 1989 | ||
1990 | BTFIXUPSET_CALL(update_mmu_cache, srmmu_update_mmu_cache, BTFIXUPCALL_NOP); | 1990 | BTFIXUPSET_CALL(update_mmu_cache, srmmu_update_mmu_cache, BTFIXUPCALL_NOP); |
1991 | BTFIXUPSET_CALL(destroy_context, srmmu_destroy_context, BTFIXUPCALL_NORM); | ||
1992 | 1991 | ||
1993 | get_srmmu_type(); | 1992 | get_srmmu_type(); |
1994 | 1993 | ||