aboutsummaryrefslogtreecommitdiff
path: root/arch/arc/mm/tlb.c
diff options
context:
space:
mode:
authorVineet Gupta <[email protected]>2023-08-12 18:23:59 -0700
committerVineet Gupta <[email protected]>2023-08-13 16:53:02 -0700
commit4d3696801bad2a037832c15a8d21dfe0c529d9cd (patch)
tree3944d811d0e280b59a40914d4eb59604f6d393ed /arch/arc/mm/tlb.c
parent2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (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/[email protected] Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'arch/arc/mm/tlb.c')
-rw-r--r--arch/arc/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
index 5f71445f26bd..2a3105a682c3 100644
--- a/arch/arc/mm/tlb.c
+++ b/arch/arc/mm/tlb.c
@@ -389,7 +389,7 @@ void flush_tlb_kernel_range(unsigned long start, unsigned long end)
/*
* Routine to create a TLB entry
*/
-void create_tlb(struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep)
+static void create_tlb(struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep)
{
unsigned long flags;
unsigned int asid_or_sasid, rwx;