diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-10 14:08:03 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-11 13:28:51 +0100 |
commit | 2bb421a3d93601aa81bc39af7aac7280303e0761 (patch) | |
tree | 340e680000df5d37b8ce4441ef5ef4d38289143c /arch/powerpc/mm/book3s64/pgtable.c | |
parent | powerpc/83xx: Fix build error when CONFIG_PCI=n (diff) | |
download | linux-2bb421a3d93601aa81bc39af7aac7280303e0761.tar.xz linux-2bb421a3d93601aa81bc39af7aac7280303e0761.zip |
powerpc/mm/64s: Fix no previous prototype warning
As reported by lkp:
arch/powerpc/mm/book3s64/radix_tlb.c:646:6: warning: no previous
prototype for function 'exit_lazy_flush_tlb'
Fix it by moving the prototype into the existing header.
Fixes: 032b7f08932c ("powerpc/64s/radix: serialize_against_pte_lookup IPIs trim mm_cpumask")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210210130804.3190952-2-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/mm/book3s64/pgtable.c')
-rw-r--r-- | arch/powerpc/mm/book3s64/pgtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/book3s64/pgtable.c b/arch/powerpc/mm/book3s64/pgtable.c index 78c492e86752..9ffa65074cb0 100644 --- a/arch/powerpc/mm/book3s64/pgtable.c +++ b/arch/powerpc/mm/book3s64/pgtable.c @@ -20,6 +20,8 @@ #include <mm/mmu_decl.h> #include <trace/events/thp.h> +#include "internal.h" + unsigned long __pmd_frag_nr; EXPORT_SYMBOL(__pmd_frag_nr); unsigned long __pmd_frag_size_shift; @@ -79,8 +81,6 @@ void set_pmd_at(struct mm_struct *mm, unsigned long addr, return set_pte_at(mm, addr, pmdp_ptep(pmdp), pmd_pte(pmd)); } -void exit_lazy_flush_tlb(struct mm_struct *mm, bool always_flush); - static void do_serialize(void *arg) { /* We've taken the IPI, so try to trim the mask while here */ |