Skip to content

Commit d5dbcfe

Browse files
benzearichardweinberger
authored andcommitted
um: Declare fix_range_common as a static function
It is only used within the same file. Signed-off-by: Benjamin Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent d119595 commit d5dbcfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/um/kernel/tlb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ static inline int update_p4d_range(pgd_t *pgd, unsigned long addr,
314314
return ret;
315315
}
316316

317-
void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
318-
unsigned long end_addr, int force)
317+
static void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
318+
unsigned long end_addr, int force)
319319
{
320320
pgd_t *pgd;
321321
struct host_vm_change hvc;

0 commit comments

Comments
 (0)