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

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

diff -u --recursive --new-file v2.2.7/linux/include/asm-ppc/vga.h linux/include/asm-ppc/vga.h
@@ -46,7 +46,8 @@
 #define scr_memcpyw_from memcpy
 #define scr_memcpyw_to memcpy
 
-#define VGA_MAP_MEM(x) (x + _ISA_MEM_BASE)
+extern unsigned long vgacon_remap_base;
+#define VGA_MAP_MEM(x) (x + vgacon_remap_base)
 #define vga_readb(x) (*(x))
 #define vga_writeb(x,y) (*(y) = (x))
 

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