diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-21 14:49:58 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-21 14:49:58 -0400 |
commit | c153a58e715e16ffcd6c4b3da7fc6b4a556bf917 (patch) | |
tree | 89639b00047f341f5ebf0b2029a861e3718f641f /arch/sh/kernel/debugtraps.S | |
parent | 4ab8f241f6d510470c15b62ac10f6905ff5c97bd (diff) | |
parent | 5580e9044df9c0e87861739d8c527006ead92e52 (diff) |
Merge branch 'sh/dwarf-unwinder' of git://github.com/mfleming/linux-2.6 into sh/dwarf-unwinder
Diffstat (limited to 'arch/sh/kernel/debugtraps.S')
-rw-r--r-- | arch/sh/kernel/debugtraps.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/kernel/debugtraps.S b/arch/sh/kernel/debugtraps.S index 591741383ee6..cb00e4a82d4d 100644 --- a/arch/sh/kernel/debugtraps.S +++ b/arch/sh/kernel/debugtraps.S | |||
@@ -21,6 +21,10 @@ | |||
21 | #define sh_bios_handler debug_trap_handler | 21 | #define sh_bios_handler debug_trap_handler |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #if !defined(CONFIG_DWARF_UNWINDER) | ||
25 | #define unwinder_trap_handler debug_trap_handler | ||
26 | #endif | ||
27 | |||
24 | .data | 28 | .data |
25 | 29 | ||
26 | ENTRY(debug_trap_table) | 30 | ENTRY(debug_trap_table) |
@@ -35,7 +39,7 @@ ENTRY(debug_trap_table) | |||
35 | .long debug_trap_handler /* 0x38 */ | 39 | .long debug_trap_handler /* 0x38 */ |
36 | .long debug_trap_handler /* 0x39 */ | 40 | .long debug_trap_handler /* 0x39 */ |
37 | .long debug_trap_handler /* 0x3a */ | 41 | .long debug_trap_handler /* 0x3a */ |
38 | .long debug_trap_handler /* 0x3b */ | 42 | .long unwinder_trap_handler /* 0x3b */ |
39 | .long breakpoint_trap_handler /* 0x3c */ | 43 | .long breakpoint_trap_handler /* 0x3c */ |
40 | .long singlestep_trap_handler /* 0x3d */ | 44 | .long singlestep_trap_handler /* 0x3d */ |
41 | .long bug_trap_handler /* 0x3e */ | 45 | .long bug_trap_handler /* 0x3e */ |