linux/arch/powerpc
Michael Ellerman e88f157de5 powerpc: Remove unused vgacon_remap_base & fix build break
The build is broken with CONFIG_PPC32=y, CONFIG_FB_VGA16=y and
CONFIG_VGA_CONSOLE=n.

The problem is that vgacon_remap_base is not defined. It's used in:

    #define VGA_MAP_MEM(x,s) (x + vgacon_remap_base)

Which is used in the vga16fb.c code.

Digging down it seems vgacon_remap_base is never initialised. It used to
be, back in arch/ppc (pplus.c and prep_setup.c), but none of that code
ever made it to arch/powerpc.

So given it's been unused for >6 years, remove it.

Whether vga16fb.c works on 32-bit is another question, but this patch
shouldn't affect it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-11-10 09:59:31 +11:00
..
boot powerpc/boot: Parse chosen/cmdline-timeout parameter 2014-11-10 09:59:30 +11:00
configs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-10-21 07:48:56 -07:00
crypto
include powerpc: Remove unused vgacon_remap_base & fix build break 2014-11-10 09:59:31 +11:00
kernel powerpc: Remove unused vgacon_remap_base & fix build break 2014-11-10 09:59:31 +11:00
kvm powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
lib powerpc: Remove unused devm_ioremap_prot() 2014-11-10 09:59:28 +11:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm powerpc: Move sparse_init() into initmem_init 2014-11-10 09:59:26 +11:00
net net: bpf: be friendly to kmemcheck 2014-09-09 16:58:56 -07:00
oprofile powerpc: Ensure global functions include their prototype 2014-09-25 23:14:42 +10:00
perf powerpc: Replace __get_cpu_var uses 2014-11-03 12:12:32 +11:00
platforms powerpc/jump_label: Use HAVE_JUMP_LABEL 2014-11-10 09:59:30 +11:00
sysdev powerpc: make __ffs return unsigned long 2014-11-10 09:59:27 +11:00
xmon powerpc: Convert power off logic to pm_power_off 2014-11-03 12:12:51 +11:00
Kconfig powerpc: Remove bootmem allocator 2014-11-10 09:59:25 +11:00
Kconfig.debug Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
Makefile powerpc: Add POWER8 CPU selection 2014-09-25 23:14:49 +10:00
relocs_check.pl