[PATCH v4, REBASED 1/2] ARM: Pass IFSR register to do_PrefetchAbort()

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Sep 23 17:12:15 EDT 2009


On Tue, Sep 22, 2009 at 02:00:14PM +0300, Kirill A. Shutemov wrote:
> diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
> index 379f785..924ec14 100644
> --- a/arch/arm/mm/fault.c
> +++ b/arch/arm/mm/fault.c
> @@ -520,7 +520,7 @@ do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
>  }
>  
>  asmlinkage void __exception
> -do_PrefetchAbort(unsigned long addr, struct pt_regs *regs)
> +do_PrefetchAbort(unsigned long addr, int ifsr, struct pt_regs *regs)

Almost there - this should be 'unsigned int ifsr'.

Other than that, patches are fine.



More information about the linux-arm-kernel mailing list