Skip to content

Commit

Permalink
[POWERPC] Add export of vgacon_remap_base
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mathieu Desnoyers authored and Paul Mackerras committed Feb 8, 2007
1 parent bcff494 commit d003e7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ int have_of = 1;

#ifdef CONFIG_VGA_CONSOLE
unsigned long vgacon_remap_base;
EXPORT_SYMBOL(vgacon_remap_base);
#endif

/*
Expand Down

0 comments on commit d003e7a

Please sign in to comment.