summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/highmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/highmem.h')
-rw-r--r--kernel/include/linux/highmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/include/linux/highmem.h b/kernel/include/linux/highmem.h
index d89b5e083..06bae5a67 100644
--- a/kernel/include/linux/highmem.h
+++ b/kernel/include/linux/highmem.h
@@ -66,7 +66,7 @@ static inline void kunmap(struct page *page)
static inline void *kmap_atomic(struct page *page)
{
- preempt_disable();
+ preempt_disable_nort();
pagefault_disable();
return page_address(page);
}
@@ -75,7 +75,7 @@ static inline void *kmap_atomic(struct page *page)
static inline void __kunmap_atomic(void *addr)
{
pagefault_enable();
- preempt_enable();
+ preempt_enable_nort();
}
#define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn))