git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
asm-arm
/
arch-ebsa110
/
uncompress.h
diff --git
a/include/asm-arm/arch-ebsa110/uncompress.h
b/include/asm-arm/arch-ebsa110/uncompress.h
index
8396e9a
..
1d7d841
100644
(file)
--- a/
include/asm-arm/arch-ebsa110/uncompress.h
+++ b/
include/asm-arm/arch-ebsa110/uncompress.h
@@
-13,6
+13,7
@@
*/
static void puts(const char *s)
{
*/
static void puts(const char *s)
{
+ unsigned long tmp1, tmp2;
__asm__ __volatile__(
"ldrb %0, [%2], #1\n"
" teq %0, #0\n"
__asm__ __volatile__(
"ldrb %0, [%2], #1\n"
" teq %0, #0\n"
@@
-32,7
+33,8
@@
static void puts(const char *s)
" and %1, %1, #0x60\n"
" teq %1, #0x60\n"
" bne 3b"
" and %1, %1, #0x60\n"
" teq %1, #0x60\n"
" bne 3b"
- : : "r" (0), "r" (0), "r" (s), "r" (0xf0000be0) : "cc");
+ : "=&r" (tmp1), "=&r" (tmp2)
+ : "r" (s), "r" (0xf0000be0) : "cc");
}
/*
}
/*