diff options
| -rw-r--r-- | arch/mips/include/asm/vga.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/vga.h b/arch/mips/include/asm/vga.h index f4cff7e4fa8a..f82c83749a08 100644 --- a/arch/mips/include/asm/vga.h +++ b/arch/mips/include/asm/vga.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #ifndef _ASM_VGA_H | 6 | #ifndef _ASM_VGA_H |
| 7 | #define _ASM_VGA_H | 7 | #define _ASM_VGA_H |
| 8 | 8 | ||
| 9 | #include <asm/addrspace.h> | ||
| 9 | #include <asm/byteorder.h> | 10 | #include <asm/byteorder.h> |
| 10 | 11 | ||
| 11 | /* | 12 | /* |
| @@ -13,7 +14,7 @@ | |||
| 13 | * access the videoram directly without any black magic. | 14 | * access the videoram directly without any black magic. |
| 14 | */ | 15 | */ |
| 15 | 16 | ||
| 16 | #define VGA_MAP_MEM(x, s) (0xb0000000L + (unsigned long)(x)) | 17 | #define VGA_MAP_MEM(x, s) CKSEG1ADDR(0x10000000L + (unsigned long)(x)) |
| 17 | 18 | ||
| 18 | #define vga_readb(x) (*(x)) | 19 | #define vga_readb(x) (*(x)) |
| 19 | #define vga_writeb(x, y) (*(y) = (x)) | 20 | #define vga_writeb(x, y) (*(y) = (x)) |
