[MIPS] Fix data bus error recovery
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 4 Aug 2008 17:44:34 +0000 (19:44 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 5 Sep 2008 20:24:11 +0000 (21:24 +0100)
commit0510617b85758b6e66f3c602ceccea1826440470
treeb5b3c9750ca2b92d65f059692c56fbb45c9426e0
parentb380b0d4f7dffcc235c0facefa537d4655619101
[MIPS] Fix data bus error recovery

With -ffunction-section the entries in __dbe_table aren't no longer
sorted, so the lookup of exception addresses in do_be() failed for
some addresses. To avoid this we now sort __dbe_table.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c