patch-2.3.32 linux/include/asm-arm/vga.h
Next file: linux/include/asm-i386/bitops.h
Previous file: linux/include/asm-arm/resource.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Dec 13 16:26:27 1999
- Orig file:
v2.3.31/linux/include/asm-arm/vga.h
- Orig date:
Sat May 8 11:06:58 1999
diff -u --recursive --new-file v2.3.31/linux/include/asm-arm/vga.h linux/include/asm-arm/vga.h
@@ -6,7 +6,7 @@
#define VGA_MAP_MEM(x) (PCIMEM_BASE + (x))
-#define vga_readb(x) (*(x))
-#define vga_writeb(x,y) (*(y) = (x))
+#define vga_readb(x) (*((volatile unsigned char *)x))
+#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x))
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)