浏览代码

MIPS: Clear the correct flag in sysmips(MIPS_FIXADE, ...).

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>
Stefan Oberhumer 14 年之前
父节点
当前提交
e56293b129
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/kernel/syscall.c

+ 1 - 1
arch/mips/kernel/syscall.c

@@ -405,7 +405,7 @@ _sys_sysmips(nabi_no_regargs struct pt_regs regs)
 		if (arg1 & 2)
 		if (arg1 & 2)
 			set_thread_flag(TIF_LOGADE);
 			set_thread_flag(TIF_LOGADE);
 		else
 		else
-			clear_thread_flag(TIF_FIXADE);
+			clear_thread_flag(TIF_LOGADE);
 
 
 		return 0;
 		return 0;