diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2018-02-28 16:40:09 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-03 10:23:28 +0100 |
commit | 25039c139fdefd660b3a8ecfd001919fc3ced92d (patch) | |
tree | f4722f9624d5530169bd5671e10dfa55e3dcb66f /arch/mips/lib/libgcc.h | |
parent | 3eb222174ee8b6280e552f71ed68f890bbbdc437 (diff) |
KVM: arm/arm64: Fix check for hugepage size when allocating at Stage 2
Commit 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a
hugepage at Stage 2") lost the check for PMD_SIZE during the backport
to 4.9.
Fix this by correcting the condition to detect hugepages during stage
2 allocation.
Fixes: 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2")
Reported-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/lib/libgcc.h')
0 files changed, 0 insertions, 0 deletions