summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/access_variable_array.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2025-03-07 12:10:03 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-08 22:36:26 +0300
commit558fc8e1869ca6e1eb99a1e2b52f6c35424d4adf (patch)
tree65852b5ae97806474ee9bc49e88c3f8fec9d179d /tools/testing/selftests/bpf/prog_tests/access_variable_array.c
parent9c94c14ca39577b6324c667d8450ffa19fc1e5c4 (diff)
downloadlinux-558fc8e1869ca6e1eb99a1e2b52f6c35424d4adf.tar.xz
x86/boot: Do not test if AC and ID eflags are changeable on x86_64
The test for the changeabitily of AC and ID EFLAGS is used to distinguish between i386 and i486 processors (AC) and to test for CPUID instruction support (ID). Skip these tests on x86_64 processors as they always supports CPUID. Also change the return type of has_eflag() to bool. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Brian Gerst <brgerst@gmail.com> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Link: https://lore.kernel.org/r/20250307091022.181136-1-ubizjak@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions