Skip to contentSkip to conversation

ia64: make flush_tlb_kernel_range() an inline function

PATCH New Jan Beulich 1 participant 1 message Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: make flush_tlb_kernel_range() an inline function

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

 include/asm-ia64/tlbflush.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
include/asm-ia64/tlbflush.h +5 -1
@@ -92,6 +92,10 @@ void smp_local_flush_tlb(void);
 #define smp_local_flush_tlb()
 #endif
 
-#define flush_tlb_kernel_range(start, end)	flush_tlb_all()	/* XXX fix me */
+static inline void flush_tlb_kernel_range(unsigned long start,
+					  unsigned long end)
+{
+	flush_tlb_all();	/* XXX fix me */
+}
 
 #endif /* _ASM_IA64_TLBFLUSH_H */