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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user