diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2015-01-09 18:55:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-01-09 20:44:12 +0000 |
commit | 1e3479225acbb7ae048ac30fb7c6090fa7f0df02 (patch) | |
tree | 9fb9918fff7fff208285d54d33247f2152a87694 /arch/parisc/include/asm/ldcw.h | |
parent | ac08468867e99bc02b22baf4e58bc3537e9d852c (diff) |
ARM: 8275/1: mm: fix PMD_SECT_RDONLY undeclared compile error
In v3.19-rc3 tree when CONFIG_ARM_LPAE and CONFIG_DEBUG_RODATA are enabled
image failed to compile with the following error:
arch/arm/mm/init.c:661:14: error: ‘PMD_SECT_RDONLY’ undeclared here (not in a function)
It seems that '80d6b0c ARM: mm: allow text and rodata sections to be read-only'
and 'ded9477 ARM: 8109/1: mm: Modify pte_write and pmd_write logic for LPAE'
commits crossed. 80d6b0c uses PMD_SECT_RDONLY macro but ded9477 renames it
and uses software bits L_PMD_SECT_RDONLY instead.
Fix is to use L_PMD_SECT_RDONLY instead PMD_SECT_RDONLY as ded9477 does in
another places.
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/parisc/include/asm/ldcw.h')
0 files changed, 0 insertions, 0 deletions