diff --git a/arch/arm64/kvm/hyp/hyp-constants.c b/arch/arm64/kvm/hyp/hyp-constants.c index 96a6b45b424a..59bbfca0f5b3 100644 --- a/arch/arm64/kvm/hyp/hyp-constants.c +++ b/arch/arm64/kvm/hyp/hyp-constants.c @@ -8,6 +8,6 @@ int main(void) { DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); - DEFINE(HYP_SPINLOCK_SIZE, sizeof(hyp_spinlock_t)); + return 0; } diff --git a/include/kvm/iommu.h b/include/kvm/iommu.h index c524ba84a9cf..5764b2f09a8b 100644 --- a/include/kvm/iommu.h +++ b/include/kvm/iommu.h @@ -7,8 +7,6 @@ #include #ifdef __KVM_NVHE_HYPERVISOR__ #include -#else -#include "hyp_constants.h" #endif struct kvm_hyp_iommu_domain {