[PATCH 2/4] powerpc: Fix 32 bits mm operations when not using BATs

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Mar 22 16:44:06 EST 2007


> --- linux-cell.orig/arch/powerpc/mm/mmu_decl.h	2007-03-22 13:09:34.000000000 +1100
> +++ linux-cell/arch/powerpc/mm/mmu_decl.h	2007-03-22 13:15:08.000000000 +1100
> @@ -31,6 +31,9 @@ extern void settlbcam(int index, unsigne
>  		      unsigned int size, int flags, unsigned int pid);
>  extern void invalidate_tlbcam_entry(int index);
>  
> +extern void hash_preload(struct mm_struct *mm, unsigned long ea,
> +			 unsigned long access, unsigned long trap);
> +

The above needs to be moved out of the #ifdef CONFIG_PPC32 it's in...

Ben.





More information about the Linuxppc-dev mailing list