diff options
Diffstat (limited to 'arch/nds32/mm/highmem.c')
-rw-r--r-- | arch/nds32/mm/highmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c index d25c815fda21..b11b88956353 100644 --- a/arch/nds32/mm/highmem.c +++ b/arch/nds32/mm/highmem.c @@ -21,7 +21,7 @@ void *kmap_atomic_high(struct page *page) idx = type + KM_TYPE_NR * smp_processor_id(); vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); - pte = (page_to_pfn(page) << PAGE_SHIFT) | (PAGE_KERNEL); + pte = (page_to_pfn(page) << PAGE_SHIFT) | (kmap_prot); ptep = pte_offset_kernel(pmd_off_k(vaddr), vaddr); set_pte(ptep, pte); |