Skip to content

Commit

Permalink
um: make flush_tlb_kernel_range_common() static
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 5ade887 commit c75d053
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions arch/um/include/shared/tlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
#include "um_mmu.h"

extern void force_flush_all(void);
extern int flush_tlb_kernel_range_common(unsigned long start,
unsigned long end);

#endif
2 changes: 1 addition & 1 deletion arch/um/kernel/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
}
}

int flush_tlb_kernel_range_common(unsigned long start, unsigned long end)
static int flush_tlb_kernel_range_common(unsigned long start, unsigned long end)
{
struct mm_struct *mm;
pgd_t *pgd;
Expand Down

0 comments on commit c75d053

Please sign in to comment.