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.3
[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
..
eee9558
100644
(file)
--- a/
include/asm-arm/arch-ebsa110/uncompress.h
+++ b/
include/asm-arm/arch-ebsa110/uncompress.h
@@
-11,8
+11,9
@@
/*
* This does not append a newline
*/
/*
* This does not append a newline
*/
-static void puts(const char *s)
+static void puts
tr
(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");
}
/*
}
/*