Blackfin arch: cleanup arch/blackfin/kernel/traps.c handling code.
authorRobin Getz <robin.getz@analog.com>
Mon, 29 Oct 2007 09:59:07 +0000 (17:59 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 29 Oct 2007 09:59:07 +0000 (17:59 +0800)
commit226eb1ef523a33c66193bc319a92c647e47311d4
tree212a7a990bfdb5add3b06d4d5704bab8a9c5f330
parenta15c2dcff2766edb92d9433e3de8ae7d7c081be5
Blackfin arch: cleanup arch/blackfin/kernel/traps.c handling code.

 - move the CONFIG_KGDB into one block, for easier reading
 - remove printk from printk_address, and pass around buffers. Also
   print out the labels when decoding CPLB errors, so you know exactly
   where the error was.
 - Do not use fixed addresses, becuase people do not know where they come from.
 - Turn the printing level down on the dump, so if you don't want,
   only the signal prints out - just like on other archs. If a kernel/interrupt
   crashes, it should dump everything all the time

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/traps.c