projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[linux-2.6-microblaze.git]
/
virt
/
kvm
/
arm
/
mmu.c
diff --git
a/virt/kvm/arm/mmu.c
b/virt/kvm/arm/mmu.c
index
bde0cdd
..
1c44aa3
100644
(file)
--- a/
virt/kvm/arm/mmu.c
+++ b/
virt/kvm/arm/mmu.c
@@
-880,6
+880,9
@@
static pmd_t *stage2_get_pmd(struct kvm *kvm, struct kvm_mmu_memory_cache *cache
pmd_t *pmd;
pud = stage2_get_pud(kvm, cache, addr);
+ if (!pud)
+ return NULL;
+
if (stage2_pud_none(*pud)) {
if (!cache)
return NULL;