]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60060f2dd74476bb174da6ccdfc89ce718f3c75b
tree212a7a990bfdb5add3b06d4d5704bab8a9c5f330
parent5da2d415aa476c1e3be3a5bb7e85c26b57c33c98
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