diff options
author | Michael Jeanson <mjeanson@efficios.com> | 2025-03-19 23:21:39 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 23:26:24 +0300 |
commit | d047e32b8d1b29d178074b5f4312372e991d5da2 (patch) | |
tree | de756e666bbaf37a45fb1ec9493aed268864aba5 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 34929a070b7fd06c386080c926b61ee844e6ad34 (diff) | |
download | linux-d047e32b8d1b29d178074b5f4312372e991d5da2.tar.xz |
rseq/selftests: Fix namespace collision with rseq UAPI header
When the rseq UAPI header is included, 'union rseq' clashes with 'struct
rseq'. It's not the case in the rseq selftests but it does break the KVM
selftests that also include this file.
Rename 'union rseq' to 'union rseq_tls' to fix this.
Fixes: e6644c967d3c ("rseq/selftests: Ensure the rseq ABI TLS is actually 1024 bytes")
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/r/20250319202144.1141542-1-mjeanson@efficios.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions