projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a5b0aa
)
[ARM] 2951/1: fix wrong comment
author
Nicolas Pitre
<nico@cam.org>
Tue, 4 Oct 2005 22:17:52 +0000
(23:17 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 4 Oct 2005 22:17:52 +0000
(23:17 +0100)
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>
arch/arm/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index
e7d22db
..
f6de76e
100644
(file)
--- 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;
}