Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET"
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Thu, 20 Jun 2013 14:36:30 +0000 (14:36 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 1 Jul 2013 13:10:58 +0000 (15:10 +0200)
commited3ce16c3d2ba7cac321d29ec0a7d21408ea8437
tree98f165e9d1f6763b3320c1e66f33ea255bba92fe
parent4287f7915f33c1eb770e22589936cd9cd8a60b45
Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET"

This reverts commit 3f4579252aa166641861a64f1c2883365ca126c2. It is
invalid because the macros CAC_ADDR and UNCAC_ADDR have a kernel
virtual address as an argument and also returns a kernel virtual
address. Using and physical address PHYS_OFFSET is blatantly wrong
for a macro common to multiple platforms.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Florian Fainelli <florian@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/5528/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-ar7/spaces.h
arch/mips/include/asm/mach-ip28/spaces.h
arch/mips/include/asm/page.h