diff options
author | Uros Bizjak <[email protected]> | 2024-04-04 11:42:01 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-04-06 12:42:17 +0200 |
commit | 4c3677c077582f8665806def3f6dd35587793c69 (patch) | |
tree | 30fc627ebc1ef58d13a3d16b76596f69f2618d63 /tools/perf/util/trace-event-scripting.c | |
parent | 9ebe5500d4b25ee4cde04eec59a6764361a60709 (diff) |
x86/percpu: Fix x86_this_cpu_variable_test_bit() asm template
Fix x86_this_cpu_variable_test_bit(), which is implemented with an
incorrect asm template, where argument 2 (count argument) is considered
a percpu variable. However, x86_this_cpu_test_bit() is currently
used exclusively with constant bit number argument, so the called
x86_this_cpu_variable_test_bit() function is never instantiated.
The fix introduces named assembler operands to prevent this kind
of error.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions