Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | #ifndef __ASM_AVR32_KDEBUG_H |
| 2 | #define __ASM_AVR32_KDEBUG_H |
| 3 | |
| 4 | #include <linux/notifier.h> |
| 5 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 6 | /* Grossly misnamed. */ |
| 7 | enum die_val { |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 8 | DIE_BREAKPOINT, |
| 9 | DIE_SSTEP, |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 10 | }; |
| 11 | |
Christoph Hellwig | 9caebec | 2007-05-12 17:56:11 +0200 | [diff] [blame] | 12 | /* |
| 13 | * These are only here because kprobes.c wants them to implement a |
| 14 | * blatant layering violation. Will hopefully go away soon once all |
| 15 | * architectures are updated. |
| 16 | */ |
| 17 | static inline int register_page_fault_notifier(struct notifier_block *nb) |
| 18 | { |
| 19 | return 0; |
| 20 | } |
| 21 | static inline int unregister_page_fault_notifier(struct notifier_block *nb) |
| 22 | { |
| 23 | return 0; |
| 24 | } |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 25 | |
| 26 | #endif /* __ASM_AVR32_KDEBUG_H */ |