MIPS: R2: Fix problem with code that incorrectly modifies ebase.
authorChris Dearman <chris@mips.com>
Fri, 20 Mar 2009 22:33:55 +0000 (15:33 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Mar 2009 22:38:05 +0000 (23:38 +0100)
commit9fb4c2b9e06c0a197d867b34865b113a47370bd5
treef1f801dae021de41c135f7e640ca70ea2ba9c2f0
parent89e18eb331cc83fb4923bbc9a93beb5cb53eca0a
MIPS: R2: Fix problem with code that incorrectly modifies ebase.

Commit 566f74f6b2f8b85d5b8d6caaf97e5672cecd3e3e had a change that
incorrectly modified ebase. This backs out the lines that modified
ebase.
In addition, the ebase exception vector is now allocated with correct
alignment and the ebase register updated according to the architecture
specification.

Based on original patch by David VomLehn <dvomlehn@cisco.com>.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c