patch-2.4.0-test4 linux/include/asm-ppc/vga.h
Next file: linux/include/asm-s390/elf.h
Previous file: linux/include/asm-ppc/unistd.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Jul 13 09:42:51 2000
- Orig file:
v2.4.0-test3/linux/include/asm-ppc/vga.h
- Orig date:
Sat Feb 26 22:31:59 2000
diff -u --recursive --new-file v2.4.0-test3/linux/include/asm-ppc/vga.h linux/include/asm-ppc/vga.h
@@ -21,12 +21,12 @@
* <linux/vt_buffer.h> has already done the right job for us.
*/
-extern inline void scr_writew(u16 val, u16 *addr)
+extern inline void scr_writew(u16 val, volatile u16 *addr)
{
st_le16(addr, val);
}
-extern inline u16 scr_readw(const u16 *addr)
+extern inline u16 scr_readw(volatile const u16 *addr)
{
return ld_le16(addr);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)