aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/highmem.h
diff options
context:
space:
mode:
authorLiu Hua <sdu.liu@huawei.com>2014-04-18 09:43:32 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-04-23 11:09:42 +0100
commita05e54c103b0b8e1dab5d04b411f1d48387c4903 (patch)
treed9960fd5c3517f42f57c4513e28dd51a6353ec27 /arch/arm/include/asm/highmem.h
parentARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and FIX_KMAP_END (diff)
downloadlinux-dev-a05e54c103b0b8e1dab5d04b411f1d48387c4903.tar.xz
linux-dev-a05e54c103b0b8e1dab5d04b411f1d48387c4903.zip
ARM: 8031/2: change fixmap mapping region to support 32 CPUs
In 32-bit ARM systems, the fixmap mapping region can support no more than 14 CPUs(total: 896k; one CPU: 64K). And we can configure NR_CPUS up to 32. So there is a mismatch. This patch moves fixmapping region downwards to region 0xffc00000- 0xffe00000. Then the fixmap mapping region can support up to 32 CPUs. Reviewed-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Liu Hua <sdu.liu@huawei.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/highmem.h')
-rw-r--r--arch/arm/include/asm/highmem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/highmem.h b/arch/arm/include/asm/highmem.h
index 91b99abe7a95..535579511ed0 100644
--- a/arch/arm/include/asm/highmem.h
+++ b/arch/arm/include/asm/highmem.h
@@ -18,6 +18,7 @@
} while (0)
extern pte_t *pkmap_page_table;
+extern pte_t *fixmap_page_table;
extern void *kmap_high(struct page *page);
extern void kunmap_high(struct page *page);