diff options
author | ChiaHao <andy.jhshiu@gmail.com> | 2014-06-12 15:32:33 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-06-18 12:40:36 +0100 |
commit | 3906c2b53cd23c2ae03e6ce41432c8e7f0a3cbbb (patch) | |
tree | 00c249f7b65099403d2409f6c58cadc6d451f9b3 /arch/arm64/kernel/entry.S | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-3906c2b53cd23c2ae03e6ce41432c8e7f0a3cbbb.tar.bz2 |
arm64: Bug fix in stack alignment exception
The value of ESR has been stored into x1, and should be directly pass to
do_sp_pc_abort function, "MOV x1, x25" is an extra operation and do_sp_pc_abort
will get the wrong value of ESR.
Signed-off-by: ChiaHao <andy.jhshiu@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'arch/arm64/kernel/entry.S')
-rw-r--r-- | 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 bf017f4ffb4f..9ce04ba6bcb0 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -279,7 +279,6 @@ el1_sp_pc: */ mrs x0, far_el1 enable_dbg - mov x1, x25 mov x2, sp b do_sp_pc_abort el1_undef: |