MIPS: Consider value of c0_ebase when computing value of exception base.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 24 Oct 2008 00:56:35 +0000 (17:56 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Oct 2008 14:44:33 +0000 (14:44 +0000)
commit566f74f6b2f8b85d5b8d6caaf97e5672cecd3e3e
tree4f6c7d97bae81c7ce48daaa6c0ce55ef72fb5561
parent4816227b54d2366cba785e6f3b9f81495b83a5f1
MIPS: Consider value of c0_ebase when computing value of exception base.

It just so happens to be zero on all currently supported systems so this
hasn't bitten yet ...

[Ralf: Original patch from Cavium; handling of set_uncached_handler() and
de-ifdef'ed trap_init() implementation by me.]

Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c