diff options
Diffstat (limited to 'arch/parisc/include/asm/cacheflush.h')
-rw-r--r-- | arch/parisc/include/asm/cacheflush.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/cacheflush.h b/arch/parisc/include/asm/cacheflush.h index 2f9b751878ba..de65f66ea64e 100644 --- a/arch/parisc/include/asm/cacheflush.h +++ b/arch/parisc/include/asm/cacheflush.h | |||
@@ -132,7 +132,6 @@ void mark_rodata_ro(void); | |||
132 | static inline void *kmap(struct page *page) | 132 | static inline void *kmap(struct page *page) |
133 | { | 133 | { |
134 | might_sleep(); | 134 | might_sleep(); |
135 | flush_dcache_page(page); | ||
136 | return page_address(page); | 135 | return page_address(page); |
137 | } | 136 | } |
138 | 137 | ||
@@ -144,7 +143,6 @@ static inline void kunmap(struct page *page) | |||
144 | static inline void *kmap_atomic(struct page *page) | 143 | static inline void *kmap_atomic(struct page *page) |
145 | { | 144 | { |
146 | pagefault_disable(); | 145 | pagefault_disable(); |
147 | flush_dcache_page(page); | ||
148 | return page_address(page); | 146 | return page_address(page); |
149 | } | 147 | } |
150 | 148 | ||