Skip to content

Commit

Permalink
MIPS: Clear the correct flag in sysmips(MIPS_FIXADE, ...).
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Oberhumer authored and Ralf Baechle committed Mar 14, 2011
1 parent e1c87d2 commit e56293b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e56293b

Please sign in to comment.