projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae574a5
)
[ARM] 3420/1: Missing clobber in example code
author
Paul Brook
<paul@codesourcery.com>
Tue, 28 Mar 2006 21:19:29 +0000
(22:19 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 28 Mar 2006 21:19:29 +0000
(22:19 +0100)
Patch from Paul Brook
The example code in the source documentation for __kernel_dmb
clobbers r0 but doesn't list it the asm clobber list.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/entry-armv.S
b/arch/arm/kernel/entry-armv.S
index 355914ffb1924371e9db73fbd8b64e9b737c740d..ab8e600c18c8effe7b5549714672352db02c8439 100644
(file)
--- a/
arch/arm/kernel/entry-armv.S
+++ b/
arch/arm/kernel/entry-armv.S
@@
-666,7
+666,7
@@
__kuser_helper_start:
*
* #define __kernel_dmb() \
* asm volatile ( "mov r0, #0xffff0fff; mov lr, pc; sub pc, r0, #95" \
- * : : : "lr","cc" )
+ * : : : "
r0", "
lr","cc" )
*/
__kuser_memory_barrier: @ 0xffff0fa0