Skip to contentSkip to conversation

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

PATCH Stefan Oberhumer 2 participants 2 messages Jan 17, 2011 – Jan 24, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

The sysmips(MIPS_FIXADE, ...) case contains an obvious copy-and-paste error in the handling of the TIF_LOGADE flag. Fix that

---
 arch/mips/kernel/syscall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/syscall.c +1 -1
index 1dc6edf..cde2a32 100644
@@ -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;
 
#1 lore raw
Quoted 2 lines · Stefan Oberhumer

The sysmips(MIPS_FIXADE, ...) case contains an obvious copy-and-paste error in the handling of the TIF_LOGADE flag. Fix that

Applied - but <rant> please include a Signed-off-by line for all patches you submit. </rant>

Thanks,

Ralf