projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2d5eb
)
arm: KVM: Add missing kvm_stage2_has_pmd() helper
author
Marc Zyngier
<marc.zyngier@arm.com>
Sat, 2 Feb 2019 12:14:03 +0000
(12:14 +0000)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 7 Feb 2019 11:44:47 +0000
(11:44 +0000)
Fixup 32bit by providing the now required helper.
Cc: Suzuki Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/stage2_pgtable.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/stage2_pgtable.h
b/arch/arm/include/asm/stage2_pgtable.h
index c4b1d4fb17972ed3d638e187663607fe42bc9f0e..de2089501b8b5705a29bcb80b7007d630cfabc60 100644
(file)
--- a/
arch/arm/include/asm/stage2_pgtable.h
+++ b/
arch/arm/include/asm/stage2_pgtable.h
@@
-76,4
+76,9
@@
static inline bool kvm_stage2_has_pud(struct kvm *kvm)
#define S2_PMD_MASK PMD_MASK
#define S2_PMD_SIZE PMD_SIZE
+static inline bool kvm_stage2_has_pmd(struct kvm *kvm)
+{
+ return true;
+}
+
#endif /* __ARM_S2_PGTABLE_H_ */