diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-10 03:39:37 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-23 03:27:40 +0300 |
commit | 322d79f1db4b033844dcb2de43abd570abbd04b4 (patch) | |
tree | 6e5cf85f6283317e82ab2ce4574a21c105d06e69 /lib/test-string_helpers.c | |
parent | 9b8615c5d37fca15b330882bafceaf24f2398352 (diff) | |
download | linux-322d79f1db4b033844dcb2de43abd570abbd04b4.tar.xz |
KVM: x86: Clean up directed yield API for "has pending interrupt"
Directly return the boolean result of whether or not a vCPU has a pending
interrupt instead of effectively doing:
if (true)
return true;
return false;
Reviewed-by: Yuan Yao <yuan.yao@intel.com>
Link: https://lore.kernel.org/r/20240110003938.490206-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions