From: Pantelis Antoniou Date: Wed, 14 Sep 2005 21:19:14 +0000 (-0700) Subject: [PATCH] ppc32 8xx: flush_tlb_range() declaration uses wrong pointer type X-Git-Tag: v3.12-rc1~41473 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fd9808aec0198b25ff9f8bb19508d9492f86920;p=kernel%2Fkernel-generic.git [PATCH] ppc32 8xx: flush_tlb_range() declaration uses wrong pointer type On 8xx flush_tlb_range() declaration is using a "struct mm_struct *" pointer type while the function itself uses "struct vm_area_struct *". Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-ppc/tlbflush.h b/include/asm-ppc/tlbflush.h index 9850f53..9afee4f 100644 --- a/include/asm-ppc/tlbflush.h +++ b/include/asm-ppc/tlbflush.h @@ -72,7 +72,7 @@ static inline void flush_tlb_page(struct vm_area_struct *vma, static inline void flush_tlb_page_nohash(struct vm_area_struct *vma, unsigned long vmaddr) { _tlbie(vmaddr); } -static inline void flush_tlb_range(struct mm_struct *mm, +static inline void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) { __tlbia(); } static inline void flush_tlb_kernel_range(unsigned long start,