From b8a1aaf8fa7eda8d5bf20d96ae16560fb6d7e39a Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 19 Sep 2006 17:18:53 +0100 Subject: [PATCH] --- yaml --- r: 36029 b: refs/heads/master c: 06be375b9ae237b295648980e8a52048ab640f92 h: refs/heads/master i: 36027: dfbe15507269ea690ec976a76edda0997242b480 v: v3 --- [refs] | 2 +- trunk/arch/mips/kernel/syscall.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6344047e4269..34d67271e9ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 717736d4d73f8966fcc9802732f52f9e85830247 +refs/heads/master: 06be375b9ae237b295648980e8a52048ab640f92 diff --git a/trunk/arch/mips/kernel/syscall.c b/trunk/arch/mips/kernel/syscall.c index 0721314db657..9951240cc3fd 100644 --- a/trunk/arch/mips/kernel/syscall.c +++ b/trunk/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)