ARM: 7963/1: mm: report both sections from PMD
authorKees Cook <keescook@chromium.org>
Fri, 14 Feb 2014 19:19:03 +0000 (20:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Feb 2014 19:41:26 +0000 (19:41 +0000)
commitcd91b2fecfa66967e6ad732a9af860eb96c31ba4
tree05bc0e7b0c2364128489e32006d7a1ef0805379a
parent39544ac9df20f73e49fc6b9ac19ff533388c82c0
ARM: 7963/1: mm: report both sections from PMD

On 2-level page table systems, the PMD has 2 section entries. Report
these, otherwise ARM_PTDUMP will miss reporting permission changes on
odd section boundaries.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dump.c