[PATCH] ARM: mm: pull asm/memory.h explicitly
Russell King - ARM Linux
linux at armlinux.org.uk
Thu Aug 18 07:22:46 PDT 2016
On Wed, Aug 17, 2016 at 05:17:14PM +0100, Vladimir Murzin wrote:
> Commit d78114554939a (""ARM: 8512/1: proc-v7.S: Adjust stack address when
> XIP_KERNEL"") introduced a macro which lives under asm/memory.h.
> Unfortunately, for MMU-less systems (like R-class) it leads to build failure:
>
> arch/arm/mm/proc-v7.S: Assembler messages:
> arch/arm/mm/proc-v7.S:538: Error: unrecognised relocation suffix
> make[1]: *** [arch/arm/mm/proc-v7.o] Error 1
> make: *** [arch/arm/mm] Error 2
>
> since it is implicitly pulled via asm/pgtable.h for MMU capable systems only.
>
> To fix it include asm/memory.h explicitly.
>
> Signed-off-by: Vladimir Murzin <vladimir.murzin at arm.com>
Looks fine, thanks.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list