• Arnd Bergmann's avatar
    vgacon: clean up global screen_info instances · 555624c0
    Arnd Bergmann authored
    
    
    To prepare for completely separating the VGA console screen_info from
    the one used in EFI/sysfb, rename the vgacon instances and make them
    local as much as possible.
    
    ia64 and arm both have confurations with vgacon and efi, but the contents
    never overlaps because ia64 has no EFI framebuffer, and arm only has
    vga console on legacy platforms without EFI. Renaming these is required
    before the EFI screen_info can be moved into drivers/firmware.
    
    The ia64 vga console is actually registered in two places from
    setup_arch(), but one of them is wrong, so drop the one in pcdp.c and
    fix the one in setup.c to use the correct conditional.
    
    x86 has to keep them together, as the boot protocol is used to switch
    between VGA text console and framebuffer through the screen_info data.
    Acked-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
    Acked-by: default avatarKhalid Aziz <khalid@gonehiking.org>
    Acked-by: default avatarHelge Deller <deller@gmx.de>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Link: https...
    555624c0
sys_sio.c 12.8 KB