mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-05 04:04:01 +08:00
unicore32: remove flush_cache_user_range
flush_cache_user_range is an ARMism not used by any generic or unicore32 specific code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Guan Xuetao <gxt@pku.edu.cn> Link: http://lkml.kernel.org/r/20200515143646.3857579-5-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e292e7403e
commit
7c95fda549
@ -132,14 +132,6 @@ extern void flush_cache_page(struct vm_area_struct *vma,
|
||||
|
||||
#define flush_cache_dup_mm(mm) flush_cache_mm(mm)
|
||||
|
||||
/*
|
||||
* flush_cache_user_range is used when we want to ensure that the
|
||||
* Harvard caches are synchronised for the user space address range.
|
||||
* This is used for the UniCore private sys_cacheflush system call.
|
||||
*/
|
||||
#define flush_cache_user_range(vma, start, end) \
|
||||
__cpuc_coherent_user_range((start) & PAGE_MASK, PAGE_ALIGN(end))
|
||||
|
||||
/*
|
||||
* Perform necessary cache operations to ensure that data previously
|
||||
* stored within this range of addresses can be executed by the CPU.
|
||||
|
Loading…
Reference in New Issue
Block a user