diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2014-12-01 11:53:08 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-12-01 14:31:12 +0100 |
commit | a2d25a5391ca219f196f9fee7b535c40d201c6bf (patch) | |
tree | 4b2e208ebac21cf53793db6ba4ed5a74b04a6d59 /arch/arm64/include/asm | |
parent | arm64: add seccomp support (diff) | |
download | linux-a2d25a5391ca219f196f9fee7b535c40d201c6bf.tar.xz linux-a2d25a5391ca219f196f9fee7b535c40d201c6bf.zip |
arm64: compat: align cacheflush syscall with arch/arm
Update handling of cacheflush syscall with changes made in arch/arm
counterpart:
- return error to userspace when flushing syscall fails
- split user cache-flushing into interruptible chunks
- don't bother rounding to nearest vma
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
[will: changed internal return value from -EINTR to 0 to match arch/arm/]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm')
-rw-r--r-- | arch/arm64/include/asm/cacheflush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/cacheflush.h b/arch/arm64/include/asm/cacheflush.h index 689b6379188c..7ae31a2cc6c0 100644 --- a/arch/arm64/include/asm/cacheflush.h +++ b/arch/arm64/include/asm/cacheflush.h @@ -73,7 +73,7 @@ extern void flush_cache_all(void); extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end); extern void flush_icache_range(unsigned long start, unsigned long end); extern void __flush_dcache_area(void *addr, size_t len); -extern void __flush_cache_user_range(unsigned long start, unsigned long end); +extern long __flush_cache_user_range(unsigned long start, unsigned long end); static inline void flush_cache_mm(struct mm_struct *mm) { |