summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefan Oberhumer <stefan@obssys.com>2011-01-17 09:19:53 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-03-14 21:07:25 +0100
commite56293b129607be089f2c12906d709e3c84b68c4 (patch)
tree9cf33f0305c4ad54d5bf4623b578d802c2e4c7f9 /arch
parente1c87d2a5567c7940d129a6045efadc4b8c0f888 (diff)
downloadop-kernel-dev-e56293b129607be089f2c12906d709e3c84b68c4.zip
op-kernel-dev-e56293b129607be089f2c12906d709e3c84b68c4.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c
index 1dc6edf..cde2a32c 100644
--- a/arch/mips/kernel/syscall.c
+++ b/arch/mips/kernel/syscall.c
@@ -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;
OpenPOWER on IntegriCloud