diff options
author | Paul Brook <paul@codesourcery.com> | 2006-03-28 16:19:29 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-28 16:19:29 -0500 |
commit | 6896eec0296c400db95e4382095fd4d6cf59800c (patch) | |
tree | 023993de8e16623e720f36f71ffad38f9c524f7a | |
parent | ae574a5d7aa1d80469dfcbaa757db2bea536ee66 (diff) |
[ARM] 3420/1: Missing clobber in example code
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>
-rw-r--r-- | arch/arm/kernel/entry-armv.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 355914ffb192..ab8e600c18c8 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -666,7 +666,7 @@ __kuser_helper_start: | |||
666 | * | 666 | * |
667 | * #define __kernel_dmb() \ | 667 | * #define __kernel_dmb() \ |
668 | * asm volatile ( "mov r0, #0xffff0fff; mov lr, pc; sub pc, r0, #95" \ | 668 | * asm volatile ( "mov r0, #0xffff0fff; mov lr, pc; sub pc, r0, #95" \ |
669 | * : : : "lr","cc" ) | 669 | * : : : "r0", "lr","cc" ) |
670 | */ | 670 | */ |
671 | 671 | ||
672 | __kuser_memory_barrier: @ 0xffff0fa0 | 672 | __kuser_memory_barrier: @ 0xffff0fa0 |