summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Desnoyers <compudj@krystal.dyndns.org>2007-02-07 19:04:44 -0500
committerPaul Mackerras <paulus@samba.org>2007-02-08 16:08:47 +1100
commitd003e7a1a569501cbe9a5ca14748177498c4893a (patch)
treeb7b5b0ea1be4ff3bd555b9cb93abb2be885e53fe
parentbcff4948c64e1af09e9a986e324626ee873d3a07 (diff)
downloadop-kernel-dev-d003e7a1a569501cbe9a5ca14748177498c4893a.zip
op-kernel-dev-d003e7a1a569501cbe9a5ca14748177498c4893a.tar.gz
[POWERPC] Add export of vgacon_remap_base
The following macro : include/asm-powerpc/vga.h:#define VGA_MAP_MEM(x,s) (x + vgacon_remap_base) is used by drivers/video/console/vgacon.c which can be compiled as a module (drivers/video/vga16fb.ko). Therefore, vgacon_remap_base should be exported. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/kernel/setup_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index 61c65d1..6a19fa4 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -65,6 +65,7 @@ int have_of = 1;
#ifdef CONFIG_VGA_CONSOLE
unsigned long vgacon_remap_base;
+EXPORT_SYMBOL(vgacon_remap_base);
#endif
/*
OpenPOWER on IntegriCloud