MIPS: Clear the correct flag in sysmips(MIPS_FIXADE, ...).
authorStefan Oberhumer <stefan@obssys.com>
Mon, 17 Jan 2011 08:19:53 +0000 (09:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:25 +0000 (21:07 +0100)
The sysmips(MIPS_FIXADE, ...) case contains an obvious copy-and-paste
error in the handling of the TIF_LOGADE flag. Fix that

Patchwork: https://patchwork.linux-mips.org/patch/1997/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c

index 1dc6edff45e08a604377862ec3d8980c6b333cf0..cde2a32c1043914894102989154d515aa1c82d31 100644 (file)
@@ -405,7 +405,7 @@ _sys_sysmips(nabi_no_regargs struct pt_regs regs)
                if (arg1 & 2)
                        set_thread_flag(TIF_LOGADE);
                else
-                       clear_thread_flag(TIF_FIXADE);
+                       clear_thread_flag(TIF_LOGADE);
 
                return 0;