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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-arm
/
arch-pxa
/
uncompress.h
diff --git
a/include/asm-arm/arch-pxa/uncompress.h
b/include/asm-arm/arch-pxa/uncompress.h
index
178aa2e
..
fe38090
100644
(file)
--- a/
include/asm-arm/arch-pxa/uncompress.h
+++ b/
include/asm-arm/arch-pxa/uncompress.h
@@
-17,18
+17,23
@@
#define UART FFUART
#define UART FFUART
-static
inline
void putc(char c)
+static
__inline__
void putc(char c)
{
{
- while (!(UART[5] & 0x20))
- barrier();
+ while (!(UART[5] & 0x20));
UART[0] = c;
}
/*
* This does not append a newline
*/
UART[0] = c;
}
/*
* This does not append a newline
*/
-static
inline void flush(void
)
+static
void putstr(const char *s
)
{
{
+ while (*s) {
+ putc(*s);
+ if (*s == '\n')
+ putc('\r');
+ s++;
+ }
}
/*
}
/*