Blackfin: push down exception oops checking
authorMike Frysinger <vapier@gentoo.org>
Sun, 7 Jun 2009 21:08:28 +0000 (17:08 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Jun 2009 11:20:09 +0000 (07:20 -0400)
commit82bd1d7d45a69c54fb6beedb78ccb1c7d308dd93
treef9a60086a663ab07304db13eacb53b7ce325b42f
parent6510a20e1b1a3a5703429a09d03adf44882ae373
Blackfin: push down exception oops checking

Rather than maintain a duplicate list of valid exceptions we can take in
the kernel both in the first if() check and the switch() check, delay the
oops check to after the switch().  All valid exceptions will have returned
by this point leaving only the invalid ones.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/traps.c