aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2022-10-05 09:42:33 +0200
committerJuergen Gross <[email protected]>2022-10-11 10:50:55 +0200
commitf90d98bdd06c0f3d1a60462c85324bd61f2a7142 (patch)
treefd6714a4caab56bc93f8354302cec2f9f45742fa /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent8714f7bcd3c20d36890f43cc6a8e0c3c17b843aa (diff)
xen/pv: fix vendor checks for pmu emulation
The CPU vendor checks for pmu emulation are rather limited today, as the assumption seems to be that only Intel and AMD are existing and/or supported vendors. Fix that by handling Centaur and Zhaoxin CPUs the same way as Intel, and Hygon the same way as AMD. While at it fix the return type of is_intel_pmu_msr(). Suggested-by: Jan Beulich <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Jan Beulich <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions