aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2017-04-12 09:21:05 +0200
committerJuergen Gross <[email protected]>2017-05-02 11:13:48 +0200
commit88f3256f21d958d0773bf93523ad12d2ddaf3006 (patch)
treecbe17c0ec523085115a525cf14fe26117b8bdbea /tools/perf/util/c++/clang.cpp
parentfd9145fd270c7d152853219b8b44210026fa3c02 (diff)
x86/xen: use capabilities instead of fake cpuid values for mtrr
When running as pv domain xen_cpuid() is being used instead of native_cpuid(). In xen_cpuid() the mtrr feature is indicated as not being present by special casing the related cpuid leaf. Instead of delivering fake cpuid values clear the cpu capability bit for mtrr instead. Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions