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
-  Lines: 10
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/asm-arm/arch-cl7500/uncompress.h
-  Orig date: 
Thu Apr 12 12:20:31 2001
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)