patch-2.4.19 linux-2.4.19/include/asm-arm/arch-cl7500/uncompress.h

Next file: linux-2.4.19/include/asm-arm/arch-clps711x/autcpu12.h
Previous file: linux-2.4.19/include/asm-arm/arch-cl7500/keyboard.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-arm/arch-cl7500/uncompress.h linux-2.4.19/include/asm-arm/arch-cl7500/uncompress.h
@@ -9,7 +9,8 @@
 
 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;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)