patch-2.4.19 linux-2.4.19/include/asm-arm/arch-epxa10db/uncompress.h
Next file: linux-2.4.19/include/asm-arm/arch-integrator/system.h
Previous file: linux-2.4.19/include/asm-arm/arch-epxa10db/time.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-arm/arch-epxa10db/uncompress.h
- Orig date:
Thu Oct 25 13:53:53 2001
diff -urN linux-2.4.18/include/asm-arm/arch-epxa10db/uncompress.h linux-2.4.19/include/asm-arm/arch-epxa10db/uncompress.h
@@ -29,14 +29,18 @@
static void puts(const char *s)
{
while (*s) {
- while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15);
+ while ((*UART_TSR(EXC_UART00_BASE) &
+ UART_TSR_TX_LEVEL_MSK)==15);
+ barrier();
- *UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = *s;
+ *UART_TD(EXC_UART00_BASE) = *s;
if (*s == '\n') {
- while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15);
+ while ((*UART_TSR(EXC_UART00_BASE) &
+ UART_TSR_TX_LEVEL_MSK)==15);
+ barrier();
- *UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = '\r';
+ *UART_TD(EXC_UART00_BASE) = '\r';
}
s++;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)