diff options
| author | Jan Beulich <jbeulich@novell.com> | 2007-12-19 15:30:30 -0500 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2007-12-19 15:30:30 -0500 |
| commit | 285fbd66330cd5899f4e607e3e65ab5921ddabf0 (patch) | |
| tree | dc40317084c5319c8b66ef88a472b316828326ec /include | |
| parent | 17fbe0043e9d623e46a57b153aa0b80ee9de7790 (diff) | |
[IA64] make flush_tlb_kernel_range() an inline function
This fixes an unused variable warning in mm/vmalloc.c.
Tony: also fix resulting fallout in uncached.c with a
typo in args to flush_tlb_kernel_range().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ia64/tlbflush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-ia64/tlbflush.h b/include/asm-ia64/tlbflush.h index 80bcb0a38e..7774a1cac0 100644 --- a/include/asm-ia64/tlbflush.h +++ b/include/asm-ia64/tlbflush.h | |||
| @@ -92,6 +92,10 @@ void smp_local_flush_tlb(void); | |||
| 92 | #define smp_local_flush_tlb() | 92 | #define smp_local_flush_tlb() |
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | #define flush_tlb_kernel_range(start, end) flush_tlb_all() /* XXX fix me */ | 95 | static inline void flush_tlb_kernel_range(unsigned long start, |
| 96 | unsigned long end) | ||
| 97 | { | ||
| 98 | flush_tlb_all(); /* XXX fix me */ | ||
| 99 | } | ||
| 96 | 100 | ||
| 97 | #endif /* _ASM_IA64_TLBFLUSH_H */ | 101 | #endif /* _ASM_IA64_TLBFLUSH_H */ |
