summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/pgtable.h
diff options
context:
space:
mode:
authorMax Filippov2014-02-03 23:17:09 +0100
committerMax Filippov2014-04-06 19:29:21 +0200
commit65559100655c6ed6ce2e17ffc8d4f3852bc2858a (patch)
tree71cf7391732414bce793d0ad7c5d39a03f60e76f /arch/xtensa/include/asm/pgtable.h
parentxtensa: optimize local_flush_tlb_kernel_range (diff)
downloadkernel-qcow2-linux-65559100655c6ed6ce2e17ffc8d4f3852bc2858a.tar.gz
kernel-qcow2-linux-65559100655c6ed6ce2e17ffc8d4f3852bc2858a.tar.xz
kernel-qcow2-linux-65559100655c6ed6ce2e17ffc8d4f3852bc2858a.zip
xtensa: add HIGHMEM support
Introduce fixmap area just below the vmalloc region. Use it for atomic mapping of high memory pages. High memory on cores with cache aliasing is not supported and is still to be implemented. Fail build for such configurations for now. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/pgtable.h')
-rw-r--r--arch/xtensa/include/asm/pgtable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h
index 216446295ada..4b0ca35a93b1 100644
--- a/arch/xtensa/include/asm/pgtable.h
+++ b/arch/xtensa/include/asm/pgtable.h
@@ -310,6 +310,10 @@ set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pteval)
update_pte(ptep, pteval);
}
+static inline void set_pte(pte_t *ptep, pte_t pteval)
+{
+ update_pte(ptep, pteval);
+}
static inline void
set_pmd(pmd_t *pmdp, pmd_t pmdval)