Commit c3febdf9 authored by Russell King's avatar Russell King

[ARM] Fix badly placed writeback/invalidation fixes.

parent cedc5632
......@@ -207,6 +207,8 @@ extern void dmac_inv_range(unsigned long, unsigned long);
extern void dmac_clean_range(unsigned long, unsigned long);
extern void dmac_flush_range(unsigned long, unsigned long);
#endif
#define flush_cache_vmap(start, end) flush_cache_all()
#define flush_cache_vunmap(start, end) flush_cache_all()
#define copy_to_user_page(vma, page, vaddr, dst, src, len) \
......@@ -216,8 +218,6 @@ do { memcpy(dst, src, len); \
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \
memcpy(dst, src, len)
#endif
/*
* Convert calls to our calling convention.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment