diff options
Diffstat (limited to 'arch/avr32/kernel/traps.c')
-rw-r--r-- | arch/avr32/kernel/traps.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c index 4f0382d8483f..4de9edf96ed2 100644 --- a/arch/avr32/kernel/traps.c +++ b/arch/avr32/kernel/traps.c | |||
@@ -20,20 +20,6 @@ | |||
20 | #include <asm/sysreg.h> | 20 | #include <asm/sysreg.h> |
21 | #include <asm/traps.h> | 21 | #include <asm/traps.h> |
22 | 22 | ||
23 | ATOMIC_NOTIFIER_HEAD(avr32_die_chain); | ||
24 | |||
25 | int register_die_notifier(struct notifier_block *nb) | ||
26 | { | ||
27 | return atomic_notifier_chain_register(&avr32_die_chain, nb); | ||
28 | } | ||
29 | EXPORT_SYMBOL(register_die_notifier); | ||
30 | |||
31 | int unregister_die_notifier(struct notifier_block *nb) | ||
32 | { | ||
33 | return atomic_notifier_chain_unregister(&avr32_die_chain, nb); | ||
34 | } | ||
35 | EXPORT_SYMBOL(unregister_die_notifier); | ||
36 | |||
37 | static DEFINE_SPINLOCK(die_lock); | 23 | static DEFINE_SPINLOCK(die_lock); |
38 | 24 | ||
39 | void NORET_TYPE die(const char *str, struct pt_regs *regs, long err) | 25 | void NORET_TYPE die(const char *str, struct pt_regs *regs, long err) |