sparc32: drop btfixup for switch_mm
[firefly-linux-kernel-4.4.55.git] / arch / sparc / include / asm / mmu_context_32.h
index 671a997b9e6961d4f543347b46266773c5abf622..00379318165fe4680b8da1819cdf045fc9bdaf78 100644 (file)
@@ -28,9 +28,8 @@ BTFIXUPDEF_CALL(void, destroy_context, struct mm_struct *)
 #define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm)
 
 /* Switch the current MM context. */
-BTFIXUPDEF_CALL(void, switch_mm, struct mm_struct *, struct mm_struct *, struct task_struct *)
-
-#define switch_mm(old_mm, mm, tsk) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk)
+void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm,
+              struct task_struct *tsk);
 
 #define deactivate_mm(tsk,mm)  do { } while (0)