aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/traps.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-04-19 19:09:59 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-04-25 10:44:05 -0500
commitc2b0e0d33b5573d4cb426e9c3ddbf2aad5e1d8a7 (patch)
treed16f0bed4ca02e15b2e46d133f2f73577b82cda6 /arch/parisc/kernel/traps.c
parentsignal/openrisc: Use force_sig_fault where appropriate (diff)
downloadlinux-dev-c2b0e0d33b5573d4cb426e9c3ddbf2aad5e1d8a7.tar.xz
linux-dev-c2b0e0d33b5573d4cb426e9c3ddbf2aad5e1d8a7.zip
signal/parisc: Use force_sig_mceerr where appropriate
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: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions