Skip to content

Commit

Permalink
alpha: fix warning by fixing flush_tlb_kernel_range()
Browse files Browse the repository at this point in the history
mm/vmalloc.c: In function 'unmap_kernel_range':
mm/vmalloc.c:75: warning: unused variable 'start'

Macros are so horrid.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 5, 2008
1 parent 6d6f8d5 commit cbed6c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/asm-alpha/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ extern void flush_tlb_range(struct vm_area_struct *, unsigned long,

#endif /* CONFIG_SMP */

#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();
}

#endif /* _ALPHA_TLBFLUSH_H */

0 comments on commit cbed6c6

Please sign in to comment.