Skip to content

Commit c3febdf

Browse files
author
Russell King
committed
[ARM] Fix badly placed writeback/invalidation fixes.
1 parent cedc563 commit c3febdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/asm-arm/cacheflush.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ extern void dmac_inv_range(unsigned long, unsigned long);
207207
extern void dmac_clean_range(unsigned long, unsigned long);
208208
extern void dmac_flush_range(unsigned long, unsigned long);
209209

210+
#endif
211+
210212
#define flush_cache_vmap(start, end) flush_cache_all()
211213
#define flush_cache_vunmap(start, end) flush_cache_all()
212214
#define copy_to_user_page(vma, page, vaddr, dst, src, len) \
@@ -216,8 +218,6 @@ do { memcpy(dst, src, len); \
216218
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \
217219
memcpy(dst, src, len)
218220

219-
#endif
220-
221221
/*
222222
* Convert calls to our calling convention.
223223
*/

0 commit comments

Comments
 (0)