diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-16 21:00:25 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 18:26:11 +0100 |
commit | dd94d3558947756b102b1487911acd925224a38c (patch) | |
tree | 0c47613940de0030be53d548f54306413f84ca65 /arch/arm/mach-integrator | |
parent | 617d1464ab1a572d3a1e46c7cea5d7247ed45d8a (diff) | |
download | op-kernel-dev-dd94d3558947756b102b1487911acd925224a38c.zip op-kernel-dev-dd94d3558947756b102b1487911acd925224a38c.tar.gz |
ARM: realview: fix sparsemem build
Commit b713aa0b15 "ARM: fix asm/memory.h build error" broke some
configurations on mach-realview with sparsemem enabled, which
is missing a definition of PHYS_OFFSET:
arch/arm/include/asm/memory.h:268:42: error: 'PHYS_OFFSET' undeclared (first use in this function)
#define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT))
arch/arm/include/asm/dma-mapping.h:104:9: note: in expansion of macro 'PHYS_PFN_OFFSET'
return PHYS_PFN_OFFSET + dma_to_pfn(dev, *dev->dma_mask);
An easy workaround is for realview to define PHYS_OFFSET itself,
in the same way we define it for platforms that don't have a private
__virt_to_phys function.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-integrator')
0 files changed, 0 insertions, 0 deletions