]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: traps: tidy up ebase calculation
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 17:15:22 +0000 (10:15 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:44 +0000 (09:49 +0100)
commit153d3bab91ff20ddb63b8c6bb06a86fc14b3d64f
treee514143d350d419a08e3f28cb2a011fd92fc3b6b
parent13b208ba69ea9e13e1cd2f3ec0aeea8fa52d73f8
MIPS: traps: tidy up ebase calculation

Rather than #ifdef on CONFIG_KVM_GUEST & redefine the guest kseg0 base
locally, make use of the CAC_BASE macro which has the correct value in
both cases.

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