diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-09-20 08:21:35 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-09-20 15:03:21 +0300 |
commit | 25b9a3caf886b12eec3bc2608e852d8471db124e (patch) | |
tree | 318a799afa3d9111b428bda153be78299cb4a921 /arch/xtensa/mm | |
parent | 2e413b1ebc30937882ed894897bee226896f262e (diff) | |
download | linux-25b9a3caf886b12eec3bc2608e852d8471db124e.tar.xz |
xtensa: tlb: include <asm/tlb.h> for missing prototype
Add the prototype for check_tlb_sanity() to <asm/tlb.h> and use that
header to prevent a build warning:
arch/xtensa/mm/tlb.c:273:6: warning: no previous prototype for 'check_tlb_sanity' [-Wmissing-prototypes]
273 | void check_tlb_sanity(void)
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20230920052139.10570-13-rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm')
-rw-r--r-- | arch/xtensa/mm/tlb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c index 0a11fc5f185b..4f974b74883c 100644 --- a/arch/xtensa/mm/tlb.c +++ b/arch/xtensa/mm/tlb.c @@ -17,6 +17,7 @@ #include <linux/mm.h> #include <asm/processor.h> #include <asm/mmu_context.h> +#include <asm/tlb.h> #include <asm/tlbflush.h> #include <asm/cacheflush.h> |