]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86_64: flush_tlb_kernel_range() warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 21 Jul 2007 15:11:24 +0000 (17:11 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:13 +0000 (18:37 -0700)
mm/vmalloc.c: In function 'unmap_kernel_range':
mm/vmalloc.c:75: warning: unused variable 'start'

make it a C function so that the compiler thinks it used its arguments.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86_64/tlbflush.h

index 8516225a838983a65c2962082046dc6e5bb4ced4..888eb4abdd07a2fffa1c3ca3486962a3b56d7be5 100644 (file)
@@ -92,7 +92,11 @@ static inline void flush_tlb_range(struct vm_area_struct * vma, unsigned long st
 
 #endif
 
-#define flush_tlb_kernel_range(start, end) flush_tlb_all()
+static inline void flush_tlb_kernel_range(unsigned long start,
+                                       unsigned long end)
+{
+       flush_tlb_all();
+}
 
 static inline void flush_tlb_pgtables(struct mm_struct *mm,
                                      unsigned long start, unsigned long end)