diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-27 20:56:14 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-10 09:59:31 +1100 |
commit | e88f157de5e0b327b1b26e3260de4b16c07e2d19 (patch) | |
tree | 38de5bf25f41979208a243964b29f7e0626f8db7 /lib/genalloc.c | |
parent | 1bc9e47aa8e4b0f9629e218d4c7667308ca6af67 (diff) |
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>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions