summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/mm-armv.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-05-10 10:40:19 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-05-10 10:40:19 +0100
commitc4e1f6f6bf82af89994a0ee760fc5e036c4d3c1f (patch)
tree64d5168e48eb879cb7452e80b06b7d7eaa6a709c /arch/arm/mm/mm-armv.c
parent155bb14482cc567761c13b4efc064de400c55e18 (diff)
downloadop-kernel-dev-c4e1f6f6bf82af89994a0ee760fc5e036c4d3c1f.zip
op-kernel-dev-c4e1f6f6bf82af89994a0ee760fc5e036c4d3c1f.tar.gz
[PATCH] ARM: Add top_pmd, which points at the top-most page table
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/mm-armv.c')
-rw-r--r--arch/arm/mm/mm-armv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/mm-armv.c b/arch/arm/mm/mm-armv.c
index 2a514b0..fa60fd6 100644
--- a/arch/arm/mm/mm-armv.c
+++ b/arch/arm/mm/mm-armv.c
@@ -37,6 +37,8 @@ pgprot_t pgprot_kernel;
EXPORT_SYMBOL(pgprot_kernel);
+pmd_t *top_pmd;
+
struct cachepolicy {
const char policy[16];
unsigned int cr_mask;
@@ -682,6 +684,8 @@ void __init memtable_init(struct meminfo *mi)
flush_cache_all();
flush_tlb_all();
+
+ top_pmd = pmd_off_k(VECTORS_HIGH);
}
/*
OpenPOWER on IntegriCloud