ARM: 8589/1: asm/memory.h: remove dead definitions
authorNicolas Pitre <nicolas.pitre@linaro.org>
Thu, 28 Jul 2016 18:37:21 +0000 (19:37 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 12 Aug 2016 15:47:02 +0000 (16:47 +0100)
commit7d281b620d229486429d851b10a05da871d22e79
tree986daff31c377b03507feee968bc1d71ffaed7d1
parent3cb59581a860f5f542b37aed214f74b3f2ccfa32
ARM: 8589/1: asm/memory.h: remove dead definitions

The last ad-hoc __phys_to_virt definition was removed in commit fd0053c9
("ARM: realview: remove sparsemem hack"). Therefore we can remove the
unneeded definitions and unduplicate the virt_to_pfn macro from
asm/memory.h.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memory.h