diff options
author | Nicolas Pitre <nico@cam.org> | 2005-10-04 23:17:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-04 23:17:52 +0100 |
commit | 74f8849496b73d2ae4f9c53f61bf59e063ceed88 (patch) | |
tree | 15b167058991d2733c4f96be507b61febc081a12 /arch/arm | |
parent | 0a5b0aa8a331f4346b4b02bc653107304a6abdc5 (diff) | |
download | linux-74f8849496b73d2ae4f9c53f61bf59e063ceed88.tar.gz linux-74f8849496b73d2ae4f9c53f61bf59e063ceed88.tar.bz2 linux-74f8849496b73d2ae4f9c53f61bf59e063ceed88.zip |
[ARM] 2951/1: fix wrong comment
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index e7d22dbcb691..f6de76e0a45d 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -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; } |