diff --git a/[refs] b/[refs] index c4b748b843d0..609372128f6b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 98ce472181e760a552314850c238b14bbf3f04ec +refs/heads/master: 07500b0d855b7f3f47ca263b21b6397d743d45d2 diff --git a/trunk/include/asm-mips/system.h b/trunk/include/asm-mips/system.h index 90e4b403f531..1030562d6ea6 100644 --- a/trunk/include/asm-mips/system.h +++ b/trunk/include/asm-mips/system.h @@ -68,11 +68,15 @@ do { \ if (cpu_has_dsp) \ __save_dsp(prev); \ (last) = resume(prev, next, task_thread_info(next)); \ +} while (0) + +#define finish_arch_switch(prev) \ +do { \ if (cpu_has_dsp) \ __restore_dsp(current); \ if (cpu_has_userlocal) \ - write_c0_userlocal(task_thread_info(current)->tp_value);\ -} while(0) + write_c0_userlocal(current_thread_info()->tp_value); \ +} while (0) static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) {