projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171511
)
arm64: Bug fix in stack alignment exception
author
ChiaHao
<andy.jhshiu@gmail.com>
Thu, 12 Jun 2014 14:32:33 +0000
(15:32 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Wed, 18 Jun 2014 11:40:36 +0000
(12:40 +0100)
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>
arch/arm64/kernel/entry.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/kernel/entry.S
b/arch/arm64/kernel/entry.S
index bf017f4ffb4fb074283a1c8807aa40033b5bedf6..9ce04ba6bcb0f0c99ce28e999af0de00868a5765 100644
(file)
--- 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: