Skip to content

Commit

Permalink
[PATCH] ppc32 8xx: flush_tlb_range() declaration uses wrong pointer type
Browse files Browse the repository at this point in the history
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 <marcelo.tosatti@cyclades.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Pantelis Antoniou authored and Linus Torvalds committed Sep 14, 2005
1 parent 84d370b commit 8fd9808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ppc/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8fd9808

Please sign in to comment.