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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-arm
/
arch-ixp4xx
/
uncompress.h
diff --git
a/include/asm-arm/arch-ixp4xx/uncompress.h
b/include/asm-arm/arch-ixp4xx/uncompress.h
index
960c358
..
09ae6c9
100644
(file)
--- a/
include/asm-arm/arch-ixp4xx/uncompress.h
+++ b/
include/asm-arm/arch-ixp4xx/uncompress.h
@@
-21,26
+21,18
@@
static volatile u32* uart_base;
static volatile u32* uart_base;
-static
__inline__ void putc(char
c)
+static
inline void putc(int
c)
{
/* Check THRE and TEMT bits before we transmit the character.
*/
{
/* Check THRE and TEMT bits before we transmit the character.
*/
- while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE);
+ while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE)
+ barrier();
+
*uart_base = c;
}
*uart_base = c;
}
-/*
- * This does not append a newline
- */
-static void putstr(const char *s)
+static void flush(void)
{
{
- while (*s)
- {
- putc(*s);
- if (*s == '\n')
- putc('\r');
- s++;
- }
}
static __inline__ void __arch_decomp_setup(unsigned long arch_id)
}
static __inline__ void __arch_decomp_setup(unsigned long arch_id)