summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-08-28 21:38:40 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-28 21:38:40 +0400
commit5cc91e0460889c8461620904968e193dddb1beb3 (patch)
tree777ac3514feb2631ad650466be464041477eb706 /arch/arm/include/asm/cacheflush.h
parentcdf0bfb0126bbd8c5424ca01fd59fd70d8ea80f9 (diff)
parent97c72d89ce0ec8c73f19d5e35ec1f90f7a14bed7 (diff)
downloadlinux-5cc91e0460889c8461620904968e193dddb1beb3.tar.xz
Merge branch 'for-rmk/cacheflush-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into devel-stable
Diffstat (limited to 'arch/arm/include/asm/cacheflush.h')
-rw-r--r--arch/arm/include/asm/cacheflush.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 04d73262e003..15f2d5bf8875 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -268,8 +268,7 @@ extern void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr
* Harvard caches are synchronised for the user space address range.
* This is used for the ARM private sys_cacheflush system call.
*/
-#define flush_cache_user_range(start,end) \
- __cpuc_coherent_user_range((start) & PAGE_MASK, PAGE_ALIGN(end))
+#define flush_cache_user_range(s,e) __cpuc_coherent_user_range(s,e)
/*
* Perform necessary cache operations to ensure that data previously