arm64: Bug fix in stack alignment exception
authorChiaHao <andy.jhshiu@gmail.com>
Thu, 12 Jun 2014 14:32:33 +0000 (15:32 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Jun 2014 11:40:36 +0000 (12:40 +0100)
commit3906c2b53cd23c2ae03e6ce41432c8e7f0a3cbbb
tree00c249f7b65099403d2409f6c58cadc6d451f9b3
parent7171511eaec5bf23fb06078f59784a3a0626b38f
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>
arch/arm64/kernel/entry.S