linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ia64: make flush_tlb_kernel_range() an inline function
@ 2007-12-12 15:21 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2007-12-12 15:21 UTC (permalink / raw)
  To: tony.luck; +Cc: linux-ia64, linux-kernel

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 */




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-12 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 15:21 [PATCH] ia64: make flush_tlb_kernel_range() an inline function Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).