mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
[MIPS] TLS: set_thread_area returns asmlinkage int not void.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
717736d4d7
commit
06be375b9a
@ -263,7 +263,7 @@ asmlinkage int sys_olduname(struct oldold_utsname __user * name)
|
||||
return error;
|
||||
}
|
||||
|
||||
void sys_set_thread_area(unsigned long addr)
|
||||
asmlinkage int sys_set_thread_area(unsigned long addr)
|
||||
{
|
||||
struct thread_info *ti = task_thread_info(current);
|
||||
|
||||
@ -271,6 +271,8 @@ void sys_set_thread_area(unsigned long addr)
|
||||
|
||||
/* If some future MIPS implementation has this register in hardware,
|
||||
* we will need to update it here (and in context switches). */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
asmlinkage int _sys_sysmips(int cmd, long arg1, int arg2, int arg3)
|
||||
|
Loading…
Reference in New Issue
Block a user