X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fvga.h;h=a2eac409c1ec2cbcd81ce48ced5b07aac04195a0;hb=bee86f14d51a5a9a3b1897e301da1e415df0ba23;hp=f8d350aabf1a019f49ca194ff19f9f6b211d853c;hpb=dad2ad82c5f058367df79de022bd12d36afcd065;p=linux-2.6 diff --git a/include/asm-powerpc/vga.h b/include/asm-powerpc/vga.h index f8d350aabf..a2eac409c1 100644 --- a/include/asm-powerpc/vga.h +++ b/include/asm-powerpc/vga.h @@ -12,7 +12,6 @@ #include -#include #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_MDA_CONSOLE) @@ -42,9 +41,9 @@ static inline u16 scr_readw(volatile const u16 *addr) extern unsigned long vgacon_remap_base; #ifdef __powerpc64__ -#define VGA_MAP_MEM(x) ((unsigned long) ioremap((x), 0)) +#define VGA_MAP_MEM(x,s) ((unsigned long) ioremap((x), s)) #else -#define VGA_MAP_MEM(x) (x + vgacon_remap_base) +#define VGA_MAP_MEM(x,s) (x + vgacon_remap_base) #endif #define vga_readb(x) (*(x))