diff options
author | Mateusz Guzik <mjguzik@gmail.com> | 2024-06-13 11:26:37 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-06-13 15:40:29 +0300 |
commit | 501bd734f933f4eb5c080b87936e9d43f471d723 (patch) | |
tree | 16b37e70d6317bdce9fdd6e8cc3b6e62b8c5e480 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eb9d3c0bb065e55af6ec88e82a94b57fa1bb6e5d (diff) | |
download | linux-501bd734f933f4eb5c080b87936e9d43f471d723.tar.xz |
x86/CPU/AMD: Always inline amd_clear_divider()
The routine is used on syscall exit and on non-AMD CPUs is guaranteed to
be empty.
It probably does not need to be a function call even on CPUs which do need the
mitigation.
[ bp: Make sure it is always inlined so that noinstr marking works. ]
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240613082637.659133-1-mjguzik@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions