• Kyle McMartin's avatar
    [PARISC] pdc_console: fix bizarre panic on boot · ef1afd4d
    Kyle McMartin authored
    Commit 721fdf34 introduced a subtle bug
    by accidently removing the "static" from iodc_dbuf. This resulted in, what
    appeared to be, a trap without *current set to a task. Probably the result of
    a trap in real mode while calling firmware.
    
    Also do other misc clean ups. Since the only input from firmware is non
    blocking, share iodc_dbuf between input and output, and spinlock the
    only callers.
    Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
    ef1afd4d
firmware.c 42.1 KB