ANDROID: KVM: arm64: Remove HYP_SPIN_LOCK from generated code

As HYP_SPIN_LOCK is used by modules, we can't include internal header
for it. Instead we assume its 4, then assert this at runtime.

Bug: 357781595
Bug: 384432312
Change-Id: I6d7b0c8fa8000c4e32c65fd8c98533e6ed17563f
Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
Mostafa Saleh
2023-08-21 16:40:13 +00:00
parent 83eb7b07ed
commit 6ff074eb95
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -7,8 +7,6 @@
#include <linux/io-pgtable.h>
#ifdef __KVM_NVHE_HYPERVISOR__
#include <nvhe/spinlock.h>
#else
#include "hyp_constants.h"
#endif
struct kvm_hyp_iommu_domain {