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-cl7500
/
uncompress.h
diff --git
a/include/asm-arm/arch-cl7500/uncompress.h
b/include/asm-arm/arch-cl7500/uncompress.h
index
fffaabd
..
c437e0c
100644
(file)
--- a/
include/asm-arm/arch-cl7500/uncompress.h
+++ b/
include/asm-arm/arch-cl7500/uncompress.h
@@
-3,27
+3,19
@@
*
* Copyright (C) 1999, 2000 Nexus Electronics Ltd.
*/
*
* Copyright (C) 1999, 2000 Nexus Electronics Ltd.
*/
-
#define BASE 0x03010000
#define SERBASE (BASE + (0x2f8 << 2))
#define BASE 0x03010000
#define SERBASE (BASE + (0x2f8 << 2))
-static
__inline__
void putc(char c)
+static
inline
void putc(char c)
{
{
- while (!(*((volatile unsigned int *)(SERBASE + 0x14)) & 0x20));
+ while (!(*((volatile unsigned int *)(SERBASE + 0x14)) & 0x20))
+ barrier();
+
*((volatile unsigned int *)(SERBASE)) = c;
}
*((volatile unsigned int *)(SERBASE)) = c;
}
-/*
- * This does not append a newline
- */
-static void puts(const char *s)
+static inline void flush(void)
{
{
- while (*s) {
- putc(*s);
- if (*s == '\n')
- putc('\r');
- s++;
- }
}
static __inline__ void arch_decomp_setup(void)
}
static __inline__ void arch_decomp_setup(void)