2 #define _I386_KDEBUG_H 1
5 * Aug-05 2004 Ported by Prasanna S Panchamukhi <prasanna@in.ibm.com>
6 * from x86_64 architecture.
8 #include <linux/notifier.h>
20 extern int register_die_notifier(struct notifier_block
*);
21 extern int unregister_die_notifier(struct notifier_block
*);
22 extern struct atomic_notifier_head i386die_chain
;
25 /* Grossly misnamed. */
42 static inline int notify_die(enum die_val val
, const char *str
,
43 struct pt_regs
*regs
, long err
, int trap
, int sig
)
45 struct die_args args
= {
52 return atomic_notifier_call_chain(&i386die_chain
, val
, &args
);