[PATCH 1/1] Remove an extra operation: The ESR has been stored into x1, and should be directly pass to do_sp_pc_abort function

Catalin Marinas catalin.marinas at arm.com
Thu Jun 12 14:16:09 PDT 2014


On 12 Jun 2014, at 16:32, Andy Hsu <andy.jhshiu at gmail.com> wrote:
> Signed-off-by: Andy Hsu <andy.jhshiu at gmail.com>
> ---
> arch/arm64/kernel/entry.S |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
> index fa78916..56ef569 100644
> --- a/arch/arm64/kernel/entry.S
> +++ b/arch/arm64/kernel/entry.S
> @@ -275,7 +275,6 @@ el1_sp_pc:
> 	 * Stack or PC alignment exception handling
> 	 */
> 	mrs	x0, far_el1
> -	mov	x1, x25
> 	mov	x2, sp
> 	b	do_sp_pc_abort
> el1_undef:

I got it already via a different channel but thanks anyway.

Catalin



More information about the linux-arm-kernel mailing list