diff options
Diffstat (limited to 'arch/parisc/include/asm/cacheflush.h')
-rw-r--r-- | arch/parisc/include/asm/cacheflush.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/cacheflush.h b/arch/parisc/include/asm/cacheflush.h index dba11aedce1b..f388a85bba11 100644 --- a/arch/parisc/include/asm/cacheflush.h +++ b/arch/parisc/include/asm/cacheflush.h | |||
@@ -126,20 +126,20 @@ static inline void *kmap(struct page *page) | |||
126 | 126 | ||
127 | #define kunmap(page) kunmap_parisc(page_address(page)) | 127 | #define kunmap(page) kunmap_parisc(page_address(page)) |
128 | 128 | ||
129 | static inline void *kmap_atomic(struct page *page, enum km_type idx) | 129 | static inline void *__kmap_atomic(struct page *page) |
130 | { | 130 | { |
131 | pagefault_disable(); | 131 | pagefault_disable(); |
132 | return page_address(page); | 132 | return page_address(page); |
133 | } | 133 | } |
134 | 134 | ||
135 | static inline void kunmap_atomic_notypecheck(void *addr, enum km_type idx) | 135 | static inline void __kunmap_atomic(void *addr) |
136 | { | 136 | { |
137 | kunmap_parisc(addr); | 137 | kunmap_parisc(addr); |
138 | pagefault_enable(); | 138 | pagefault_enable(); |
139 | } | 139 | } |
140 | 140 | ||
141 | #define kmap_atomic_prot(page, idx, prot) kmap_atomic(page, idx) | 141 | #define kmap_atomic_prot(page, prot) kmap_atomic(page) |
142 | #define kmap_atomic_pfn(pfn, idx) kmap_atomic(pfn_to_page(pfn), (idx)) | 142 | #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn)) |
143 | #define kmap_atomic_to_page(ptr) virt_to_page(ptr) | 143 | #define kmap_atomic_to_page(ptr) virt_to_page(ptr) |
144 | #endif | 144 | #endif |
145 | 145 | ||