diff options
author | 2023-03-22 12:58:24 +0800 | |
---|---|---|
committer | 2023-03-22 15:44:33 -0700 | |
commit | 68f7c82ab1b8c7057b0c241907ff7906c7407e6d (patch) | |
tree | 6f73801cb5939b8c745376b9d1912d6ffe154e8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: SVM: Use kvm_is_cr4_bit_set() to query SMAP/SMEP in "can emulate" (diff) | |
download | linux-rng-68f7c82ab1b8c7057b0c241907ff7906c7407e6d.tar.xz linux-rng-68f7c82ab1b8c7057b0c241907ff7906c7407e6d.zip |
KVM: x86: Change return type of is_long_mode() to bool
Change return type of is_long_mode() to bool to avoid implicit cast,
as literally every user of is_long_mode() treats its return value as a
boolean.
Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://lore.kernel.org/r/20230322045824.22970-5-binbin.wu@linux.intel.com
Reviewed-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions