diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-21 11:11:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 21:37:13 -0400 |
commit | 8f03d6ce4ee20e7521b69188f6b5a9bb9ba7457f (patch) | |
tree | c36a58d0856b753f60ade19ac08606c75af4d1ff /include/asm-x86_64/tlbflush.h | |
parent | 1048fa52810a5bad542cd4929a702af5e241fa81 (diff) |
x86_64: flush_tlb_kernel_range() warning fix
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>
Diffstat (limited to 'include/asm-x86_64/tlbflush.h')
-rw-r--r-- | include/asm-x86_64/tlbflush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-x86_64/tlbflush.h b/include/asm-x86_64/tlbflush.h index 8516225a8389..888eb4abdd07 100644 --- a/include/asm-x86_64/tlbflush.h +++ b/include/asm-x86_64/tlbflush.h | |||
@@ -92,7 +92,11 @@ static inline void flush_tlb_range(struct vm_area_struct * vma, unsigned long st | |||
92 | 92 | ||
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | #define flush_tlb_kernel_range(start, end) flush_tlb_all() | 95 | static inline void flush_tlb_kernel_range(unsigned long start, |
96 | unsigned long end) | ||
97 | { | ||
98 | flush_tlb_all(); | ||
99 | } | ||
96 | 100 | ||
97 | static inline void flush_tlb_pgtables(struct mm_struct *mm, | 101 | static inline void flush_tlb_pgtables(struct mm_struct *mm, |
98 | unsigned long start, unsigned long end) | 102 | unsigned long start, unsigned long end) |