[IA64] make flush_tlb_kernel_range() an inline function

This fixes an unused variable warning in mm/vmalloc.c.

Tony: also fix resulting fallout in uncached.c with a
typo in args to flush_tlb_kernel_range().

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Jan Beulich and committed by Tony Luck 285fbd66 17fbe004

+6 -2
+1 -1
arch/ia64/kernel/uncached.c
··· 118 for (i = 0; i < (IA64_GRANULE_SIZE / PAGE_SIZE); i++) 119 SetPageUncached(&page[i]); 120 121 - flush_tlb_kernel_range(uc_addr, uc_adddr + IA64_GRANULE_SIZE); 122 123 status = ia64_pal_prefetch_visibility(PAL_VISIBILITY_PHYSICAL); 124 if (status == PAL_VISIBILITY_OK_REMOTE_NEEDED) {
··· 118 for (i = 0; i < (IA64_GRANULE_SIZE / PAGE_SIZE); i++) 119 SetPageUncached(&page[i]); 120 121 + flush_tlb_kernel_range(uc_addr, uc_addr + IA64_GRANULE_SIZE); 122 123 status = ia64_pal_prefetch_visibility(PAL_VISIBILITY_PHYSICAL); 124 if (status == PAL_VISIBILITY_OK_REMOTE_NEEDED) {
+5 -1
include/asm-ia64/tlbflush.h
··· 92 #define smp_local_flush_tlb() 93 #endif 94 95 - #define flush_tlb_kernel_range(start, end) flush_tlb_all() /* XXX fix me */ 96 97 #endif /* _ASM_IA64_TLBFLUSH_H */
··· 92 #define smp_local_flush_tlb() 93 #endif 94 95 + static inline void flush_tlb_kernel_range(unsigned long start, 96 + unsigned long end) 97 + { 98 + flush_tlb_all(); /* XXX fix me */ 99 + } 100 101 #endif /* _ASM_IA64_TLBFLUSH_H */