summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorChristoph Hellwig2019-04-28 20:57:39 +0200
committerChristoph Hellwig2019-06-03 16:00:08 +0200
commit2e96e04d25caaca8039ba9561e7e02ee8a192553 (patch)
tree56a89a791c0a8f2412fd8cdbd776ad352fef4774 /arch/mips/include
parentdma-direct: provide generic support for uncached kernel segments (diff)
downloadkernel-qcow2-linux-2e96e04d25caaca8039ba9561e7e02ee8a192553.tar.gz
kernel-qcow2-linux-2e96e04d25caaca8039ba9561e7e02ee8a192553.tar.xz
kernel-qcow2-linux-2e96e04d25caaca8039ba9561e7e02ee8a192553.zip
MIPS: use the generic uncached segment support in dma-direct
Stop providing the arch alloc/free hooks and just expose the segment offset instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/page.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/include/asm/page.h b/arch/mips/include/asm/page.h
index 6b31c93b5eaa..23e0f1386e04 100644
--- a/arch/mips/include/asm/page.h
+++ b/arch/mips/include/asm/page.h
@@ -258,9 +258,6 @@ extern int __virt_addr_valid(const volatile void *kaddr);
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
-#define UNCAC_ADDR(addr) (UNCAC_BASE + __pa(addr))
-#define CAC_ADDR(addr) ((unsigned long)__va((addr) - UNCAC_BASE))
-
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>