]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 27 Jun 2013 12:10:51 +0000 (14:10 +0200)
commitd3fc480171e8accd1f3e6fb118a0dcbdd897fcc9
tree4725aa4e1d4ea428d2db0115f15ba18e48dbea2e
parent5b4daf9d35187d103b1ddcf4aa0eb9745e8fda82
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