X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fkdebug.h;h=adb6f918d3ad719600c034a04b33ce1a5d32b29e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f0de26738ba0a21517975db00df6fdedb8785354;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-x86_64/kdebug.h b/include/asm-x86_64/kdebug.h index f0de26738..adb6f918d 100644 --- a/include/asm-x86_64/kdebug.h +++ b/include/asm-x86_64/kdebug.h @@ -16,13 +16,14 @@ struct die_args { /* Note - you should never unregister because that can race with NMIs. If you really want to do it first unregister - then synchronize_kernel - then free. */ +int register_die_notifier(struct notifier_block *nb); extern struct notifier_block *die_chain; - /* Grossly misnamed. */ enum die_val { DIE_OOPS = 1, DIE_INT3, DIE_DEBUG, + DIE_DEBUGSTEP, DIE_PANIC, DIE_NMI, DIE_DIE, @@ -32,6 +33,7 @@ enum die_val { DIE_GPF, DIE_CALL, DIE_NMI_IPI, + DIE_PAGE_FAULT, }; static inline int notify_die(enum die_val val,char *str,struct pt_regs *regs,long err,int trap, int sig)