]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/vga.h
[NET]: uninline dev_alloc_skb, de-bloats a lot
[linux-2.6-omap-h63xx.git] / include / asm-mips / vga.h
index ca5cec97e16711a02b5800d18b88fd4b94020b4f..f4cff7e4fa8a2a531a80e2374eb4056c46dab7aa 100644 (file)
  *     access the videoram directly without any black magic.
  */
 
-#define VGA_MAP_MEM(x) (0xb0000000L + (unsigned long)(x))
+#define VGA_MAP_MEM(x, s)      (0xb0000000L + (unsigned long)(x))
 
 #define vga_readb(x)   (*(x))
-#define vga_writeb(x,y)        (*(y) = (x))
+#define vga_writeb(x, y)       (*(y) = (x))
 
 #define VT_BUF_HAVE_RW
 /*
@@ -26,6 +26,9 @@
  *  <linux/vt_buffer.h> has already done the right job for us.
  */
 
+#undef scr_writew
+#undef scr_readw
+
 static inline void scr_writew(u16 val, volatile u16 *addr)
 {
        *addr = cpu_to_le16(val);