summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-02-14 04:27:00 +0300
committerSean Christopherson <seanjc@google.com>2026-03-04 19:53:08 +0300
commitafe31de159bf218d6e92db6a4495f715f0a4e38c (patch)
treef8ad2a72d04c6e773089dcf55be8a701c156c3d7 /include/linux/start_kernel.h
parenteac90a5ba0aa40f6d81def241bd78d2a5cc5e08b (diff)
downloadlinux-afe31de159bf218d6e92db6a4495f715f0a4e38c.tar.xz
x86/virt/tdx: Use ida_is_empty() to detect if any TDs may be running
Drop nr_configured_hkid and instead use ida_is_empty() to detect if any HKIDs have been allocated/configured. Suggested-by: Dan Williams <dan.j.williams@intel.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Reviewed-by: Chao Gao <chao.gao@intel.com> Tested-by: Chao Gao <chao.gao@intel.com> Tested-by: Sagi Shahar <sagis@google.com> Link: https://patch.msgid.link/20260214012702.2368778-15-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions