aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/highmem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/mm/highmem.c b/arch/powerpc/mm/highmem.c
index b0848b462bbc..e7450bdbe83a 100644
--- a/arch/powerpc/mm/highmem.c
+++ b/arch/powerpc/mm/highmem.c
@@ -62,7 +62,7 @@ void __kunmap_atomic(void *kvaddr)
62 return; 62 return;
63 } 63 }
64 64
65 type = kmap_atomic_idx_pop(); 65 type = kmap_atomic_idx();
66 66
67#ifdef CONFIG_DEBUG_HIGHMEM 67#ifdef CONFIG_DEBUG_HIGHMEM
68 { 68 {
@@ -79,6 +79,8 @@ void __kunmap_atomic(void *kvaddr)
79 local_flush_tlb_page(NULL, vaddr); 79 local_flush_tlb_page(NULL, vaddr);
80 } 80 }
81#endif 81#endif
82
83 kmap_atomic_idx_pop();
82 pagefault_enable(); 84 pagefault_enable();
83} 85}
84EXPORT_SYMBOL(__kunmap_atomic); 86EXPORT_SYMBOL(__kunmap_atomic);