Skip to content

Commit

Permalink
[ARM] 2951/1: fix wrong comment
Browse files Browse the repository at this point in the history
Patch from Nicolas Pitre

The cmpxchg emulation syscall needs write access.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Nicolas Pitre authored and Russell King committed Oct 4, 2005
1 parent 0a5b0aa commit 74f8849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 74f8849

Please sign in to comment.