Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74f88494 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King
Browse files

[ARM] 2951/1: fix wrong comment



Patch from Nicolas Pitre

The cmpxchg emulation syscall needs write access.

Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0a5b0aa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs)

		bad_access:
		spin_unlock(&mm->page_table_lock);
		/* simulate a read access fault */
		/* simulate a write access fault */
		do_DataAbort(addr, 15 + (1 << 11), regs);
		return -1;
	}