aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-09-19 17:18:53 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 13:37:43 +0100
commit06be375b9ae237b295648980e8a52048ab640f92 (patch)
treebe5e1fe3c3317fb8558245498ce150d28d4c8c60 /arch/mips
parent[MIPS] TLS: Delete unused sys32_set_thread_area (diff)
downloadlinux-dev-06be375b9ae237b295648980e8a52048ab640f92.tar.xz
linux-dev-06be375b9ae237b295648980e8a52048ab640f92.zip
[MIPS] TLS: set_thread_area returns asmlinkage int not void.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/syscall.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 0721314db657..9951240cc3fd 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -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)