diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2018-04-17 20:03:09 +0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-04-24 09:23:00 +0100 |
commit | 907e21c15c883c2c15d1e5ee3cdbb7824ab1da59 (patch) | |
tree | 4bea2723119253d18f3598e4c1205f41c170d700 /arch/arm64/mm | |
parent | 71c751f2a43fa03fae3cf5f0067ed3001a397013 (diff) | |
download | linux-907e21c15c883c2c15d1e5ee3cdbb7824ab1da59.tar.bz2 |
arm64: mm: drop addr parameter from sync icache and dcache
The addr parameter isn't used for anything. Let's simplify and get rid of
it, like arm.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm')
-rw-r--r-- | arch/arm64/mm/flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c index e36ed5087b5c..1059884f9a6f 100644 --- a/arch/arm64/mm/flush.c +++ b/arch/arm64/mm/flush.c @@ -58,7 +58,7 @@ void copy_to_user_page(struct vm_area_struct *vma, struct page *page, flush_ptrace_access(vma, page, uaddr, dst, len); } -void __sync_icache_dcache(pte_t pte, unsigned long addr) +void __sync_icache_dcache(pte_t pte) { struct page *page = pte_page(pte); |