]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] TLS: set_thread_area returns asmlinkage int not void.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 19 Sep 2006 16:18:53 +0000 (17:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:43 +0000 (13:37 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c

index 0721314db6573b4c0efcd2d35dc458ee99d09474..9951240cc3fd23fde7c356542534de4c79a904af 100644 (file)
@@ -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)