linux-stable/arch/arm/mach-realview
Arnd Bergmann dd94d35589 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>
2014-03-21 18:26:11 +01:00
..
include/mach ARM: realview: fix sparsemem build 2014-03-21 18:26:11 +01:00
core.c ARM: remove mach .handle_irq for GIC users 2013-01-12 10:47:20 -06:00
core.h ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
Kconfig ARM: smp_twd: Divorce smp_twd from local timer API 2013-06-24 17:45:58 -07:00
Makefile ARM: realview/vexpress: consolidate SMP bringup code 2011-02-19 11:11:41 +00:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
platsmp.c ARM: GIC: remove direct use of gic_raise_softirq 2013-01-10 11:45:43 -06:00
realview_eb.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
realview_pb11mp.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
realview_pb1176.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
realview_pba8.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
realview_pbx.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00