• Robin Getz's avatar
    Blackfin arch: cleanup arch/blackfin/kernel/traps.c handling code. · 226eb1ef
    Robin Getz authored
     - 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: default avatarRobin Getz <robin.getz@analog.com>
    Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
    226eb1ef
traps.c 21.8 KB