X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fkdebug.h;h=6277f75cbb4b3f1a25330cf80280e9118f63f8a3;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=f0de26738ba0a21517975db00df6fdedb8785354;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-x86_64/kdebug.h b/include/asm-x86_64/kdebug.h index f0de26738..6277f75cb 100644 --- a/include/asm-x86_64/kdebug.h +++ b/include/asm-x86_64/kdebug.h @@ -16,8 +16,8 @@ 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, @@ -32,6 +32,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)