diff options
author | Borislav Petkov <[email protected]> | 2019-01-17 13:02:05 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-01-22 14:13:35 +0100 |
commit | ee35b9b9f6d52ba134b4e75442531935f295be7a (patch) | |
tree | e232599868d0c2c62f87d1ded53f279643289440 /scripts/gdb/linux/config.py | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd (diff) |
x86/traps: Have read_cr0() only once in the #NM handler
... instead of twice in the code. In any case, CR0 ends up being read
once anyway:
1. The CONFIG_MATH_EMULATION case does so and exits.
2. The normal case does it once too.
However, read it on function entry instead to make the code even simpler
to follow.
No functional changes.
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions