]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-pxa/uncompress.h
[ARM] 4090/2: avoid clash between PXA and SA1111 defines
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-pxa / uncompress.h
index fe38090444e0b4c3de7828a69434588b5bb5065f..178aa2e073ac0aa1322ac22b46a7dd2405ba9ce5 100644 (file)
 #define UART           FFUART
 
 
-static __inline__ void putc(char c)
+static inline void putc(char c)
 {
-       while (!(UART[5] & 0x20));
+       while (!(UART[5] & 0x20))
+               barrier();
        UART[0] = c;
 }
 
 /*
  * This does not append a newline
  */
-static void putstr(const char *s)
+static inline void flush(void)
 {
-       while (*s) {
-               putc(*s);
-               if (*s == '\n')
-                       putc('\r');
-               s++;
-       }
 }
 
 /*