diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-21 11:10:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 21:37:10 -0400 |
commit | 459029541d857258dfa9ad29e443d287a74c36fe (patch) | |
tree | 8f4345e37fad9bd760bb6b388e148ca936668f4f /include/asm-i386 | |
parent | bb1995d52b05f7e671914454d0ae57bd4170ef47 (diff) |
i386: add reference to the arguments
Prevent stuff like this:
mm/vmalloc.c: In function 'unmap_kernel_range':
mm/vmalloc.c:75: warning: unused variable 'start'
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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-i386')
-rw-r--r-- | include/asm-i386/tlbflush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-i386/tlbflush.h b/include/asm-i386/tlbflush.h index fc525c5cd5a9..a50fa6741486 100644 --- a/include/asm-i386/tlbflush.h +++ b/include/asm-i386/tlbflush.h | |||
@@ -160,7 +160,11 @@ DECLARE_PER_CPU(struct tlb_state, cpu_tlbstate); | |||
160 | native_flush_tlb_others(&mask, mm, va) | 160 | native_flush_tlb_others(&mask, mm, va) |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | #define flush_tlb_kernel_range(start, end) flush_tlb_all() | 163 | static inline void flush_tlb_kernel_range(unsigned long start, |
164 | unsigned long end) | ||
165 | { | ||
166 | flush_tlb_all(); | ||
167 | } | ||
164 | 168 | ||
165 | static inline void flush_tlb_pgtables(struct mm_struct *mm, | 169 | static inline void flush_tlb_pgtables(struct mm_struct *mm, |
166 | unsigned long start, unsigned long end) | 170 | unsigned long start, unsigned long end) |