irqflags.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _LIBLOCKDEP_LINUX_TRACE_IRQFLAGS_H_
  2. #define _LIBLOCKDEP_LINUX_TRACE_IRQFLAGS_H_
  3. # define trace_hardirq_context(p) 0
  4. # define trace_softirq_context(p) 0
  5. # define trace_hardirqs_enabled(p) 0
  6. # define trace_softirqs_enabled(p) 0
  7. # define trace_hardirq_enter() do { } while (0)
  8. # define trace_hardirq_exit() do { } while (0)
  9. # define lockdep_softirq_enter() do { } while (0)
  10. # define lockdep_softirq_exit() do { } while (0)
  11. # define INIT_TRACE_IRQFLAGS
  12. # define stop_critical_timings() do { } while (0)
  13. # define start_critical_timings() do { } while (0)
  14. #define raw_local_irq_disable() do { } while (0)
  15. #define raw_local_irq_enable() do { } while (0)
  16. #define raw_local_irq_save(flags) ((flags) = 0)
  17. #define raw_local_irq_restore(flags) do { } while (0)
  18. #define raw_local_save_flags(flags) ((flags) = 0)
  19. #define raw_irqs_disabled_flags(flags) do { } while (0)
  20. #define raw_irqs_disabled() 0
  21. #define raw_safe_halt()
  22. #define local_irq_enable() do { } while (0)
  23. #define local_irq_disable() do { } while (0)
  24. #define local_irq_save(flags) ((flags) = 0)
  25. #define local_irq_restore(flags) do { } while (0)
  26. #define local_save_flags(flags) ((flags) = 0)
  27. #define irqs_disabled() (1)
  28. #define irqs_disabled_flags(flags) (0)
  29. #define safe_halt() do { } while (0)
  30. #define trace_lock_release(x, y)
  31. #define trace_lock_acquire(a, b, c, d, e, f, g)
  32. #endif