aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm')
-rw-r--r--arch/mn10300/include/asm/highmem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/highmem.h b/arch/mn10300/include/asm/highmem.h
index 3817d9f34e72..bfe2d88604d9 100644
--- a/arch/mn10300/include/asm/highmem.h
+++ b/arch/mn10300/include/asm/highmem.h
@@ -101,7 +101,7 @@ static inline void __kunmap_atomic(unsigned long vaddr)
101 return; 101 return;
102 } 102 }
103 103
104 type = kmap_atomic_idx_pop(); 104 type = kmap_atomic_idx();
105 105
106#if HIGHMEM_DEBUG 106#if HIGHMEM_DEBUG
107 { 107 {
@@ -119,6 +119,8 @@ static inline void __kunmap_atomic(unsigned long vaddr)
119 local_flush_tlb_one(vaddr); 119 local_flush_tlb_one(vaddr);
120 } 120 }
121#endif 121#endif
122
123 kmap_atomic_idx_pop();
122 pagefault_enable(); 124 pagefault_enable();
123} 125}
124#endif /* __KERNEL__ */ 126#endif /* __KERNEL__ */