These fuctions are only used in this TU, make em static. Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> --- arch/x86/mm/kaiser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/arch/x86/mm/kaiser.c +++ b/arch/x86/mm/kaiser.c @@ -260,8 +260,8 @@ static pte_t *kaiser_shadow_pagetable_wa * the user (shadow) page tables. This may need to allocate page * table pages. */ -int kaiser_add_user_map(const void *__start_addr, unsigned long size, - unsigned long flags) +static int kaiser_add_user_map(const void *__start_addr, unsigned long size, + unsigned long flags) { unsigned long start_addr = (unsigned long)__start_addr; unsigned long address = start_addr & PAGE_MASK; @@ -310,9 +310,9 @@ int kaiser_add_user_map(const void *__st return 0; } -int kaiser_add_user_map_ptrs(const void *__start_addr, - const void *__end_addr, - unsigned long flags) +static int kaiser_add_user_map_ptrs(const void *__start_addr, + const void *__end_addr, + unsigned long flags) { return kaiser_add_user_map(__start_addr, __end_addr - __start_addr, -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>