lkml.org 
[lkml]   [2007]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ia64: make flush_tlb_kernel_range() an inline function
This fixes an unused variable warning in mm/vmalloc.c.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

include/asm-ia64/tlbflush.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

--- linux-2.6.24-rc5/include/asm-ia64/tlbflush.h 2007-12-12 12:27:38.000000000 +0100
+++ 2.6.24-rc5-ia64-flush-tlb-kernel-range/include/asm-ia64/tlbflush.h 2007-12-12 15:24:27.000000000 +0100
@@ -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 */




\
 
 \ /
  Last update: 2007-12-12 16:25    [W:0.030 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site