Skip to content

Commit

Permalink
[ARM] 3420/1: Missing clobber in example code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Brook authored and Russell King committed Mar 28, 2006
1 parent ae574a5 commit 6896eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6896eec

Please sign in to comment.