From: Ralf Baechle Date: Tue, 19 Sep 2006 16:18:53 +0000 (+0100) Subject: [MIPS] TLS: set_thread_area returns asmlinkage int not void. X-Git-Tag: v2.6.19-rc1~1033 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06be375b9ae237b295648980e8a52048ab640f92;p=linux-2.6 [MIPS] TLS: set_thread_area returns asmlinkage int not void. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 0721314db6..9951240cc3 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)