diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-04 02:17:09 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-04-06 21:29:21 +0400 |
commit | 65559100655c6ed6ce2e17ffc8d4f3852bc2858a (patch) | |
tree | 71cf7391732414bce793d0ad7c5d39a03f60e76f /arch/xtensa/include/asm/pgtable.h | |
parent | 04c6b3e2b5e5c1dbd99ad7620033eafd05ff4c26 (diff) | |
download | linux-65559100655c6ed6ce2e17ffc8d4f3852bc2858a.tar.xz |
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.h | 4 |
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) |