diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-19 13:55:17 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-19 15:50:08 +0200 |
commit | 40e5539463f0b9f787831ca4177206bcd4af7884 (patch) | |
tree | b622d1e76c777d0391c1eaad65b33267c58315d9 /arch/x86/kvm/mmu.c | |
parent | 73f297aa072809386ef6400fb48dbfde89662291 (diff) | |
download | lwn-40e5539463f0b9f787831ca4177206bcd4af7884.tar.gz lwn-40e5539463f0b9f787831ca4177206bcd4af7884.zip |
signal/x86: Move MCE error reporting out of force_sig_info_fault
Only the call from do_sigbus will send SIGBUS due to a memory machine
check error. Consolidate all of the machine check signal generation
code in do_sigbus and remove the now unnecessary fault parameter from
force_sig_info_fault.
Explicitly use the now constant si_code BUS_ADRERR in the call
to force_sig_info_fault from do_sigbus.
This makes the code in arch/x86/mm/fault.c easier to follower and
simpler to maintain.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions