diff options
author | Andy Lutomirski <[email protected]> | 2018-11-21 15:11:26 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-11-22 09:24:27 +0100 |
commit | af2ebdcf044039e89da3cd44c0f04dea317020c5 (patch) | |
tree | 93ef13e700f89ab43a563e0482284f25f9ecd873 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d38bc89c72e7235ac889ae64fe7828e2e61a18af (diff) |
x86/vsyscall/64: Use X86_PF constants in the simulated #PF error code
Rather than hardcoding 6 with a comment, use the defined constants.
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/e023f20352b0d05a8b0205629897917262d2ad68.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