diff options
Diffstat (limited to 'arch/sparc/mm/srmmu.c')
-rw-r--r-- | arch/sparc/mm/srmmu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index 564269de96cf..85d7f82e5785 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
@@ -560,8 +560,8 @@ static inline void free_context(int context) | |||
560 | } | 560 | } |
561 | 561 | ||
562 | 562 | ||
563 | static void srmmu_switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, | 563 | void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, |
564 | struct task_struct *tsk, int cpu) | 564 | struct task_struct *tsk) |
565 | { | 565 | { |
566 | if(mm->context == NO_CONTEXT) { | 566 | if(mm->context == NO_CONTEXT) { |
567 | spin_lock(&srmmu_context_spinlock); | 567 | spin_lock(&srmmu_context_spinlock); |
@@ -2171,7 +2171,6 @@ void __init ld_mmu_srmmu(void) | |||
2171 | BTFIXUPSET_CALL(do_check_pgt_cache, srmmu_check_pgt_cache, BTFIXUPCALL_NOP); | 2171 | BTFIXUPSET_CALL(do_check_pgt_cache, srmmu_check_pgt_cache, BTFIXUPCALL_NOP); |
2172 | 2172 | ||
2173 | BTFIXUPSET_CALL(set_pte, srmmu_set_pte, BTFIXUPCALL_SWAPO0O1); | 2173 | BTFIXUPSET_CALL(set_pte, srmmu_set_pte, BTFIXUPCALL_SWAPO0O1); |
2174 | BTFIXUPSET_CALL(switch_mm, srmmu_switch_mm, BTFIXUPCALL_NORM); | ||
2175 | 2174 | ||
2176 | BTFIXUPSET_CALL(pte_pfn, srmmu_pte_pfn, BTFIXUPCALL_NORM); | 2175 | BTFIXUPSET_CALL(pte_pfn, srmmu_pte_pfn, BTFIXUPCALL_NORM); |
2177 | BTFIXUPSET_CALL(pmd_page, srmmu_pmd_page, BTFIXUPCALL_NORM); | 2176 | BTFIXUPSET_CALL(pmd_page, srmmu_pmd_page, BTFIXUPCALL_NORM); |