ARM: 8014/1: mm: fix reporting of read-only PMD bits
authorKees Cook <keescook@chromium.org>
Mon, 31 Mar 2014 21:20:34 +0000 (22:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Apr 2014 11:10:01 +0000 (12:10 +0100)
commitfff00db852f2ff0faf5f539b5e28ac498fc007f8
tree82bf0d119f246d72e6b810bee7d9fab74193cc1e
parent8fad87bca7ac9737e413ba5f1656f1114a8c314d
ARM: 8014/1: mm: fix reporting of read-only PMD bits

On non-LPAE ARMv6+, read-only PMD bits are defined with the combination
"PMD_SECT_APX | PMD_SECT_AP_WRITE". Adjusted the bit masks to correctly
report this.

Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/dump.c