• Jason Wessel's avatar
    kdb: Fix early debugging crash regression · 578bd4df
    Jason Wessel authored
    The kdb_current legally be equal to NULL in the early boot of the x86
    arch.  The problem pcan be observed by booting with the kernel arguments:
    
        earlyprintk=vga ekgdboc=kbd kgdbwait
    
    The kdb shell will oops on entry and recursively fault because it
    cannot get past the final stage of shell initialization.
    Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    578bd4df
kdb_main.c 69.6 KB