kdebug.h 424 B

1234567891011121314151617181920
  1. #ifndef _LINUX_KDEBUG_H
  2. #define _LINUX_KDEBUG_H
  3. #include <asm/kdebug.h>
  4. struct die_args {
  5. struct pt_regs *regs;
  6. const char *str;
  7. long err;
  8. int trapnr;
  9. int signr;
  10. };
  11. int register_die_notifier(struct notifier_block *nb);
  12. int unregister_die_notifier(struct notifier_block *nb);
  13. int notify_die(enum die_val val, const char *str,
  14. struct pt_regs *regs, long err, int trap, int sig);
  15. #endif /* _LINUX_KDEBUG_H */