diff options
author | Fuad Tabba <tabba@google.com> | 2021-05-24 10:29:59 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-25 20:27:49 +0200 |
commit | 8c28d52ccd1d6e3a5aca8a37e465a5f8b77edbc1 (patch) | |
tree | fe0198b827d78718002b7b3182882fffdc106cb1 /arch/arm64/include/asm/cacheflush.h | |
parent | arm64: __clean_dcache_area_pou to take end parameter instead of size (diff) | |
download | linux-8c28d52ccd1d6e3a5aca8a37e465a5f8b77edbc1.tar.xz linux-8c28d52ccd1d6e3a5aca8a37e465a5f8b77edbc1.zip |
arm64: sync_icache_aliases to take end parameter instead of size
To be consistent with other functions with similar names and
functionality in cacheflush.h, cache.S, and cachetlb.rst, change
to specify the range in terms of start and end, as opposed to
start and size.
No functional change intended.
Reported-by: Will Deacon <will@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20210524083001.2586635-17-tabba@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/cacheflush.h')
-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 f86723047315..70b389a8dea5 100644 --- a/arch/arm64/include/asm/cacheflush.h +++ b/arch/arm64/include/asm/cacheflush.h @@ -64,7 +64,7 @@ extern void __clean_dcache_area_poc(unsigned long start, unsigned long end); extern void __clean_dcache_area_pop(unsigned long start, unsigned long end); extern void __clean_dcache_area_pou(unsigned long start, unsigned long end); extern long __flush_cache_user_range(unsigned long start, unsigned long end); -extern void sync_icache_aliases(void *kaddr, unsigned long len); +extern void sync_icache_aliases(unsigned long start, unsigned long end); static inline void flush_icache_range(unsigned long start, unsigned long end) { |