]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-i386/kdebug.h
Merge branch 'xen-upstream' of ssh://master.kernel.org/pub/scm/linux/kernel/git/jerem...
[karo-tx-linux.git] / include / asm-i386 / kdebug.h
index 316138e89910743f3a1b265ca4f04741bdffdc98..a185b5f73e7ff466322cbaa8c8b9743925cce11d 100644 (file)
@@ -9,19 +9,8 @@
 
 struct pt_regs;
 
-struct die_args {
-       struct pt_regs *regs;
-       const char *str;
-       long err;
-       int trapnr;
-       int signr;
-};
-
-/* Note - you should never unregister because that can race with NMIs.
-   If you really want to do it first unregister - then synchronize_sched - then free.
-  */
-int register_die_notifier(struct notifier_block *nb);
-extern struct notifier_block *i386die_chain;
+extern int register_page_fault_notifier(struct notifier_block *);
+extern int unregister_page_fault_notifier(struct notifier_block *);
 
 
 /* Grossly misnamed. */
@@ -41,17 +30,4 @@ enum die_val {
        DIE_PAGE_FAULT,
 };
 
-static inline int notify_die(enum die_val val, const char *str,
-                       struct pt_regs *regs, long err, int trap, int sig)
-{
-       struct die_args args = {
-               .regs = regs,
-               .str = str,
-               .err = err,
-               .trapnr = trap,
-               .signr = sig
-       };
-       return notifier_call_chain(&i386die_chain, val, &args);
-}
-
 #endif