[PATCH] ARM: mm: fix PMD_SECT_RDONLY undeclared compile error
victor.kamensky at linaro.org
Fri Jan 9 09:58:31 PST 2015
On 9 January 2015 at 09:00, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Wed, Jan 07, 2015 at 10:06:09AM -0800, Victor Kamensky wrote:
>> From: Victor Kamensky <kamensky at coreos-lnx2.cisco.com>
>> 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 at linaro.org>
> Please can you put it in the patch system with Will's ack if not
> already done, thanks.
Also fixed previously messed up Author field.
> FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
> according to speedtest.net.
More information about the linux-arm-kernel