aboutsummaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/addrspace.h')
-rw-r--r--arch/loongarch/include/asm/addrspace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/addrspace.h b/arch/loongarch/include/asm/addrspace.h
index 7bd47d65bf7a..fe198b473f84 100644
--- a/arch/loongarch/include/asm/addrspace.h
+++ b/arch/loongarch/include/asm/addrspace.h
@@ -37,6 +37,10 @@ extern unsigned long vm_map_base;
#define UNCACHE_BASE CSR_DMW0_BASE
#endif
+#ifndef WRITECOMBINE_BASE
+#define WRITECOMBINE_BASE CSR_DMW2_BASE
+#endif
+
#define DMW_PABITS 48
#define TO_PHYS_MASK ((1ULL << DMW_PABITS) - 1)