diff options
author | Vineet Gupta <vgupta@kernel.org> | 2023-08-12 18:23:59 -0700 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2023-08-13 16:53:02 -0700 |
commit | 4d3696801bad2a037832c15a8d21dfe0c529d9cd (patch) | |
tree | 3944d811d0e280b59a40914d4eb59604f6d393ed /arch/arc/include/asm/mmu.h | |
parent | 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff) |
ARC: -Wmissing-prototype warning fixes
Anrd reported [1] new compiler warnings due to -Wmissing-protype.
These are for non static functions mostly used in asm code hence not
exported already. Fix this by adding the prototypes.
[1] https://lore.kernel.org/lkml/20230810141947.1236730-1-arnd@kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/include/asm/mmu.h')
-rw-r--r-- | arch/arc/include/asm/mmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/asm/mmu.h b/arch/arc/include/asm/mmu.h index ca427c30f70e..9febf5bc3de6 100644 --- a/arch/arc/include/asm/mmu.h +++ b/arch/arc/include/asm/mmu.h @@ -14,6 +14,8 @@ typedef struct { unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ } mm_context_t; +extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *); + #endif #include <asm/mmu-arcv2.h> |