Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=17a82e932d67e2885d9fa18d4656ff53337b1130 Commit: 17a82e932d67e2885d9fa18d4656ff53337b1130 Parent: 4f1296a5169c13b2c1f76c1446aaf361e8519050 Author: David S. Miller <[EMAIL PROTECTED]> AuthorDate: Sat Aug 25 15:21:51 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Sun Aug 26 18:49:12 2007 -0700
[SPARC32]: Make flush_tlb_kernel_range() an inline function. This avoids unused variable warnings in places like mm/vmalloc.c: mm/vmalloc.c: In function ‘unmap_kernel_range’: mm/vmalloc.c:75: warning: unused variable ‘start’ caused by it previously being a macro. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- include/asm-sparc/tlbflush.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/asm-sparc/tlbflush.h b/include/asm-sparc/tlbflush.h index 4a3b666..a619da5 100644 --- a/include/asm-sparc/tlbflush.h +++ b/include/asm-sparc/tlbflush.h @@ -57,6 +57,10 @@ BTFIXUPDEF_CALL(void, flush_tlb_page, struct vm_area_struct *, unsigned long) /* * This is a kludge, until I know better. --zaitcev XXX */ -#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 /* _SPARC_TLBFLUSH_H */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html