kdebug.h 548 B

1234567891011121314151617181920212223242526
  1. #ifndef __ASM_AVR32_KDEBUG_H
  2. #define __ASM_AVR32_KDEBUG_H
  3. #include <linux/notifier.h>
  4. /* Grossly misnamed. */
  5. enum die_val {
  6. DIE_BREAKPOINT,
  7. DIE_SSTEP,
  8. };
  9. /*
  10. * These are only here because kprobes.c wants them to implement a
  11. * blatant layering violation. Will hopefully go away soon once all
  12. * architectures are updated.
  13. */
  14. static inline int register_page_fault_notifier(struct notifier_block *nb)
  15. {
  16. return 0;
  17. }
  18. static inline int unregister_page_fault_notifier(struct notifier_block *nb)
  19. {
  20. return 0;
  21. }
  22. #endif /* __ASM_AVR32_KDEBUG_H */