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 kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-arm
/
arch-ixp2000
/
uncompress.h
diff --git
a/include/asm-arm/arch-ixp2000/uncompress.h
b/include/asm-arm/arch-ixp2000/uncompress.h
index
3d3d5b2
..
f66b408
100644
(file)
--- a/
include/asm-arm/arch-ixp2000/uncompress.h
+++ b/
include/asm-arm/arch-ixp2000/uncompress.h
@@
-29,23
+29,18
@@
#define UARTSR PHYS(0x14) /* Status reg */
#define UARTSR PHYS(0x14) /* Status reg */
-static
__inline__ void putc(char
c)
+static
inline void putc(int
c)
{
int j = 0x1000;
{
int j = 0x1000;
- while (--j && !(*UARTSR & UART_LSR_THRE));
+ while (--j && !(*UARTSR & UART_LSR_THRE))
+ barrier();
+
*UARTDR = c;
}
*UARTDR = c;
}
-static
void putstr(const char *s
)
+static
inline void flush(void
)
{
{
- while (*s)
- {
- putc(*s);
- if (*s == '\n')
- putc('\r');
- s++;
- }
}
#define arch_decomp_setup()
}
#define arch_decomp_setup()