mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
Revert "ANDROID: KVM: arm64: Ignore length of 0 in kvm_flush_dcache_to_poc()"
This reverts commit 3b0c9ad7c7.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I0c8e335994c7c7a8cfe29bfef20d624362b03aec
This commit is contained in:
@@ -182,13 +182,8 @@ static inline void *__kvm_vector_slot2addr(void *base,
|
||||
|
||||
struct kvm;
|
||||
|
||||
#define kvm_flush_dcache_to_poc(a, l) do { \
|
||||
unsigned long __a = (unsigned long)(a); \
|
||||
unsigned long __l = (unsigned long)(l); \
|
||||
\
|
||||
if (__l) \
|
||||
dcache_clean_inval_poc(__a, __a + __l); \
|
||||
} while (0)
|
||||
#define kvm_flush_dcache_to_poc(a,l) \
|
||||
dcache_clean_inval_poc((unsigned long)(a), (unsigned long)(a)+(l))
|
||||
|
||||
static inline bool vcpu_has_cache_enabled(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user