summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/include/asm/addrspace.h')
-rw-r--r--arch/csky/include/asm/addrspace.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/csky/include/asm/addrspace.h b/arch/csky/include/asm/addrspace.h
new file mode 100644
index 000000000..6fc05d445
--- /dev/null
+++ b/arch/csky/include/asm/addrspace.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __ASM_CSKY_ADDRSPACE_H
+#define __ASM_CSKY_ADDRSPACE_H
+
+#define KSEG0 0x80000000ul
+#define KSEG0ADDR(a) (((unsigned long)a & 0x1fffffff) | KSEG0)
+
+#endif /* __ASM_CSKY_ADDRSPACE_H */