diff options
author | Andy Lutomirski <[email protected]> | 2018-11-21 15:11:22 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-11-22 09:22:59 +0100 |
commit | 0ed32f1aa66ee758e6c8164f549f7ff9d399a20e (patch) | |
tree | 502e38ef2ac0c53f0a9a3d78b5d7c35b3b377f57 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1ad33f5aec20f53785dbad44c6fb3b204aefd921 (diff) |
x86/fault: Remove sw_error_code
All of the fault handling code now corrently checks user_mode(regs)
as needed, and nothing depends on the X86_PF_USER bit being munged.
Get rid of the sw_error code and use hw_error_code everywhere.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yu-cheng Yu <[email protected]>
Link: http://lkml.kernel.org/r/078f5b8ae6e8c79ff8ee7345b5c476c45003e5ac.1542841400.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions