[AVR32] Clean up exception handling code
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 13 Mar 2007 16:59:11 +0000 (17:59 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 11:44:13 +0000 (13:44 +0200)
commit623b0355d5b1f9c6d05005b649a2f3a7b9fd7816
tree43ef35d4f6e83a49c1fb72df4b538271b650c054
parent3b328c98093702c584692bffabd440800b383d73
[AVR32] Clean up exception handling code

  * Use generic BUG() handling
  * Remove some useless debug statements
  * Use a common function _exception() to send signals or oops when
    an exception can't be handled. This makes sure init doesn't
    enter an infinite exception loop as well. Borrowed from powerpc.
  * Add some basic exception tracing support to the page fault code.
  * Rework dump_stack(), show_regs() and friends and move everything
    into process.c
  * Print information about configuration options and chip type when
    oopsing

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/Kconfig
arch/avr32/kernel/module.c
arch/avr32/kernel/process.c
arch/avr32/kernel/traps.c
arch/avr32/kernel/vmlinux.lds.c
arch/avr32/mm/fault.c
include/asm-avr32/bug.h
include/asm-avr32/processor.h
include/asm-avr32/system.h