• Eric W. Biederman's avatar
    signal/parisc: Use force_sig_mceerr where appropriate · c2b0e0d3
    Eric W. Biederman authored
    In do_page_fault where an mceerr is generated stop and call force_sig_mceerr.
    Keeping the mcerr handling logic out of the force_sig_info call below.
    
    This ensures that only and always in the mcerr case is lsb interesting.
    
    This ensures setting set si_lsb in the future won't accidentally
    stomp another siginfo field in the non mcerr case.
    
    Cc: James Bottomley <jejb@parisc-linux.org>
    Cc: Helge Deller <deller@gmx.de>
    Cc: linux-parisc@vger.kernel.org
    Acked-by: Helge Deller <deller@gmx.de>   # parisc
    Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    c2b0e0d3
fault.c 11.1 KB