summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/vga.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
commit8624512aa908741ba2795200133eae0d7f4557ea (patch)
treed5d3036fccf2604f4c98dedc11e8adb929d6b52e /include/asm-ppc/vga.h
parent7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff)
Merge with 2.3.48.
Diffstat (limited to 'include/asm-ppc/vga.h')
-rw-r--r--include/asm-ppc/vga.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ppc/vga.h b/include/asm-ppc/vga.h
index e6a7f9a53..d7ead205f 100644
--- a/include/asm-ppc/vga.h
+++ b/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