| * Aug-05 2004 Ported by Prasanna S Panchamukhi <prasanna@in.ibm.com> |
| * from x86_64 architecture. |
| #include <linux/notifier.h> |
| extern int register_die_notifier(struct notifier_block *); |
| extern int unregister_die_notifier(struct notifier_block *); |
| extern int register_page_fault_notifier(struct notifier_block *); |
| extern int unregister_page_fault_notifier(struct notifier_block *); |
| extern struct atomic_notifier_head i386die_chain; |
| static inline int notify_die(enum die_val val, const char *str, |
| struct pt_regs *regs, long err, int trap, int sig) |
| return atomic_notifier_call_chain(&i386die_chain, val, &args); |