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 /* Note - you should never unregister because that can race with NMIs.
21 If you really want to do it first unregister - then synchronize_sched - then free.
23 int register_die_notifier(struct notifier_block
*nb
);
24 extern struct notifier_block
*i386die_chain
;
27 /* Grossly misnamed. */
44 static inline int notify_die(enum die_val val
, const char *str
,
45 struct pt_regs
*regs
, long err
, int trap
, int sig
)
47 struct die_args args
= {
54 return notifier_call_chain(&i386die_chain
, val
, &args
);