Skip to content

Commit c75d053

Browse files
Al Virorichardweinberger
authored andcommitted
um: make flush_tlb_kernel_range_common() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 5ade887 commit c75d053

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎arch/um/include/shared/tlb.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
#include "um_mmu.h"
1010

1111
extern void force_flush_all(void);
12-
extern int flush_tlb_kernel_range_common(unsigned long start,
13-
unsigned long end);
1412

1513
#endif

‎arch/um/kernel/tlb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
287287
}
288288
}
289289

290-
int flush_tlb_kernel_range_common(unsigned long start, unsigned long end)
290+
static int flush_tlb_kernel_range_common(unsigned long start, unsigned long end)
291291
{
292292
struct mm_struct *mm;
293293
pgd_t *pgd;

0 commit comments

Comments
 (0)