diff options
author | David Hildenbrand <david@redhat.com> | 2024-04-24 12:36:07 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-04-24 12:36:07 +0800 |
commit | 7ab22b5c2af54e233f3d05d7d601025947e4ff05 (patch) | |
tree | 94e6afc17d7d10e145e09cddba460b748fadfba3 /fs/d_path.c | |
parent | 697f3342477170bdf8759157bdc19c0b7b3e9d14 (diff) | |
download | linux-7ab22b5c2af54e233f3d05d7d601025947e4ff05.tar.gz linux-7ab22b5c2af54e233f3d05d7d601025947e4ff05.tar.bz2 linux-7ab22b5c2af54e233f3d05d7d601025947e4ff05.zip |
LoongArch: Fix a build error due to __tlb_remove_tlb_entry()
With LLVM=1 and W=1 we get:
./include/asm-generic/tlb.h:629:10: error: parameter 'ptep' set
but not used [-Werror,-Wunused-but-set-parameter]
We fixed a similar issue via Arnd in the introducing commit, missed the
LoongArch variant. Turns out, there is no need for LoongArch to have a
custom variant, so let's just drop it and rely on the asm-generic one.
Fixes: 4d5bf0b6183f ("mm/mmu_gather: add tlb_remove_tlb_entries()")
Closes: https://lkml.kernel.org/r/CANiq72mQh3O9S4umbvrKBgMMorty48UMwS01U22FR0mRyd3cyQ@mail.gmail.com
Reported-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'fs/d_path.c')
0 files changed, 0 insertions, 0 deletions