patch-2.4.19 linux-2.4.19/include/asm-arm/arch-l7200/uncompress.h
Next file: linux-2.4.19/include/asm-arm/arch-mx1ads/dma.h
Previous file: linux-2.4.19/include/asm-arm/arch-integrator/uncompress.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/asm-arm/arch-l7200/uncompress.h
-  Orig date: 
Sun Aug 13 09:54:15 2000
diff -urN linux-2.4.18/include/asm-arm/arch-l7200/uncompress.h linux-2.4.19/include/asm-arm/arch-l7200/uncompress.h
@@ -19,7 +19,8 @@
 static __inline__ void putc(char c)
 {
 	while(__raw_readb(IO_UART + 0x18) & 0x20 ||
-		__raw_readb(IO_UART + 0x18) & 0x08);
+	      __raw_readb(IO_UART + 0x18) & 0x08)
+		barrier();
 	__raw_writeb(c, IO_UART + 0x00);
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)