aboutsummaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorBenjamin Berg2022-11-22 11:07:33 +0100
committerRichard Weinberger2023-02-01 22:11:29 +0100
commitd5dbcfe7ee31ccea85a8cbf7ff84a2808d6c8f76 (patch)
tree58bd54f892e6c59a9253f0804a532d23fa8b0426 /arch/um
parentd119595f873e4cf4c7a03aa9ac00d960772487e1 (diff)
um: Declare fix_range_common as a static function
It is only used within the same file. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/tlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/tlb.c b/arch/um/kernel/tlb.c
index fa43bcd9ba0b..7d050ab0f78a 100644
--- a/arch/um/kernel/tlb.c
+++ b/arch/um/kernel/tlb.c
@@ -314,8 +314,8 @@ static inline int update_p4d_range(pgd_t *pgd, unsigned long addr,
return ret;
}
-void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
- unsigned long end_addr, int force)
+static void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
+ unsigned long end_addr, int force)
{
pgd_t *pgd;
struct host_vm_change hvc;