diff options
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r-- | arch/mips/kernel/syscall.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 9dd5a2df8eac..b947c61c0cc8 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -272,9 +272,8 @@ asmlinkage int sys_set_thread_area(unsigned long addr) | |||
272 | struct thread_info *ti = task_thread_info(current); | 272 | struct thread_info *ti = task_thread_info(current); |
273 | 273 | ||
274 | ti->tp_value = addr; | 274 | ti->tp_value = addr; |
275 | 275 | if (cpu_has_userlocal) | |
276 | /* If some future MIPS implementation has this register in hardware, | 276 | write_c0_userlocal(addr); |
277 | * we will need to update it here (and in context switches). */ | ||
278 | 277 | ||
279 | return 0; | 278 | return 0; |
280 | } | 279 | } |