blob: 7f54e2b15d136ab5e2ee2234ef49fd0700ab2473 [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001#ifndef __ASM_AVR32_KDEBUG_H
2#define __ASM_AVR32_KDEBUG_H
3
4#include <linux/notifier.h>
5
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07006/* Grossly misnamed. */
7enum die_val {
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07008 DIE_BREAKPOINT,
9 DIE_SSTEP,
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070010};
11
Christoph Hellwig9caebec2007-05-12 17:56:11 +020012/*
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 */
17static inline int register_page_fault_notifier(struct notifier_block *nb)
18{
19 return 0;
20}
21static inline int unregister_page_fault_notifier(struct notifier_block *nb)
22{
23 return 0;
24}
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070025
26#endif /* __ASM_AVR32_KDEBUG_H */