projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index e7d22dbcb691e1e4444f94db0ab5da5b45b8731c..f6de76e0a45d388e1974f2015f2e3ba7de6c6094 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;
}