diff options
| author | Kirill A. Shutemov <[email protected]> | 2022-04-06 02:29:15 +0300 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2022-04-07 08:27:51 -0700 |
| commit | 775acc82a88fd36f5e89a08d39874fdeeaa04247 (patch) | |
| tree | 9bb3380bac837c0728fe424e706b13dd38562c7c /tools/perf/scripts/python/flamegraph.py | |
| parent | 65fab5bc033aad1a9faf976caec46558c2f88319 (diff) | |
x86/traps: Refactor exc_general_protection()
TDX brings a new exception -- Virtualization Exception (#VE). Handling
of #VE structurally very similar to handling #GP.
Extract two helpers from exc_general_protection() that can be reused for
handling #VE.
No functional changes.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions