• Vasily Gorbik's avatar
    s390/boot: remove non-functioning image bootable check · 53fcc7db
    Vasily Gorbik authored
    check_image_bootable() has been introduced with commit 627c9b62
    ("s390/boot: block uncompressed vmlinux booting attempts") to make sure
    that users don't try to boot uncompressed vmlinux ELF image in qemu. It
    used to be possible quite some time ago. That commit prevented confusion
    with uncompressed vmlinux image starting to boot and even printing
    kernel messages until it crashed. Users might have tried to report the
    problem without realizing they are doing something which was not intended.
    Since commit f1d3c532 ("s390/boot: move sclp early buffer from fixed
    address in asm to C") check_image_bootable() doesn't function properly
    anymore, as well as booting uncompressed vmlinux image in qemu doesn't
    really produce any output and crashes. Moving forward it doesn't make
    sense to fix check_image_bootable() anymore, so simply remove it.
    Acked-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
    Acked-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    53fcc7db
startup.c 11.1 KB