]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: traps: Make sure secondary cores have a sane ebase register
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 3 Feb 2016 03:15:22 +0000 (03:15 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:48 +0000 (14:01 +0200)
commit1be539b62f789fd2da95e6af683739d8b6648e75
treee6314877cefa4d165ff645397c12fc17bbd23b22
parent18266baff9b64889859367f65981c4f48e0ca007
MIPS: traps: Make sure secondary cores have a sane ebase register

We shouldn't trust that the secondary cores will have a sane ebase register
(either from the bootloader or during the hardware design phase) so use the
ebase address as calculated by the boot CPU.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Petri Gynther <pgynther@google.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12328/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c