patch-2.3.48 linux/include/asm-ppc/vga.h

Next file: linux/include/asm-sparc/termbits.h
Previous file: linux/include/asm-ppc/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/asm-ppc/vga.h linux/include/asm-ppc/vga.h
@@ -23,12 +23,12 @@
 
 extern inline void scr_writew(u16 val, u16 *addr)
 {
-    writew(val, (unsigned long)addr);
+    st_le16(addr, val);
 }
 
 extern inline u16 scr_readw(const u16 *addr)
 {
-    return readw((unsigned long)addr);
+    return ld_le16(addr);
 }
 
 #define VT_BUF_HAVE_MEMCPYW

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