diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-03-13 12:59:11 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-04-27 07:44:13 -0400 |
commit | 623b0355d5b1f9c6d05005b649a2f3a7b9fd7816 (patch) | |
tree | 43ef35d4f6e83a49c1fb72df4b538271b650c054 /arch/avr32/Kconfig | |
parent | 3b328c98093702c584692bffabd440800b383d73 (diff) |
[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>
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r-- | arch/avr32/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 257b83648cb7..7a1eb445c17f 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -68,6 +68,11 @@ config GENERIC_CALIBRATE_DELAY | |||
68 | bool | 68 | bool |
69 | default y | 69 | default y |
70 | 70 | ||
71 | config GENERIC_BUG | ||
72 | bool | ||
73 | default y | ||
74 | depends on BUG | ||
75 | |||
71 | source "init/Kconfig" | 76 | source "init/Kconfig" |
72 | 77 | ||
73 | menu "System Type and features" | 78 | menu "System Type and features" |