diff options
author | Borislav Petkov (AMD) <[email protected]> | 2022-12-18 21:53:36 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-02-11 10:44:07 +0100 |
commit | 6b8d5dde5b6903baf82fc7400e0b3376b10805b4 (patch) | |
tree | 2f538623d9a2601479dc86b81b9a11ce8ea62d1f /scripts/gdb/linux/cpus.py | |
parent | 8fe6d84947582e2c076abc6253b80709fb047935 (diff) |
x86/tsc: Do feature check as the very first thing
Do the feature check as the very first thing in the function. Everything
else comes after that and is meaningless work if the TSC CPUID bit is
not even set. Switch to cpu_feature_enabled() too, while at it.
No functional changes.
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions