Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[sfrench/cifs-2.6.git] / include / asm-powerpc / kdebug.h
1 #ifndef _ASM_POWERPC_KDEBUG_H
2 #define _ASM_POWERPC_KDEBUG_H
3 #ifdef __KERNEL__
4
5 /* nearly identical to x86_64/i386 code */
6
7 #include <linux/notifier.h>
8
9 extern int register_page_fault_notifier(struct notifier_block *);
10 extern int unregister_page_fault_notifier(struct notifier_block *);
11 extern struct atomic_notifier_head powerpc_die_chain;
12
13 /* Grossly misnamed. */
14 enum die_val {
15         DIE_OOPS = 1,
16         DIE_IABR_MATCH,
17         DIE_DABR_MATCH,
18         DIE_BPT,
19         DIE_SSTEP,
20         DIE_PAGE_FAULT,
21 };
22
23 #endif /* __KERNEL__ */
24 #endif /* _ASM_POWERPC_KDEBUG_H */