summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/pgtable.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2019-12-01 22:34:19 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:24 +0800
commitf136008f31e91060d6b6e6e031cb2c827448e280 (patch)
treec3b978edb1107ca151b85c75c729f6f78c543bf4 /arch/csky/include/asm/pgtable.h
parentf525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 (diff)
downloadlinux-f136008f31e91060d6b6e6e031cb2c827448e280.tar.gz
linux-f136008f31e91060d6b6e6e031cb2c827448e280.tar.bz2
linux-f136008f31e91060d6b6e6e031cb2c827448e280.zip
csky: Separate fixaddr_init from highmem
After fixaddr_init is separated from highmem, we could use tcm without highmem selected. (610 (abiv1) don't support highmem, but it could use tcm now.) Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/include/asm/pgtable.h')
-rw-r--r--arch/csky/include/asm/pgtable.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/csky/include/asm/pgtable.h b/arch/csky/include/asm/pgtable.h
index 4b2a41e15f2e..9b7764cb7645 100644
--- a/arch/csky/include/asm/pgtable.h
+++ b/arch/csky/include/asm/pgtable.h
@@ -5,6 +5,7 @@
#define __ASM_CSKY_PGTABLE_H
#include <asm/fixmap.h>
+#include <asm/memory.h>
#include <asm/addrspace.h>
#include <abi/pgtable-bits.h>
#include <asm-generic/pgtable-nopmd.h>
@@ -16,11 +17,6 @@
#define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
#define FIRST_USER_ADDRESS 0UL
-#define PKMAP_BASE (0xff800000)
-
-#define VMALLOC_START (0xc0008000)
-#define VMALLOC_END (PKMAP_BASE - 2*PAGE_SIZE)
-
/*
* C-SKY is two-level paging structure:
*/