idle_monitors.h 460 B

123456789101112131415161718
  1. /*
  2. * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
  3. *
  4. * Licensed under the terms of the GNU GPL License version 2.
  5. *
  6. * Based on the idea from Michael Matz <matz@suse.de>
  7. *
  8. */
  9. #ifndef _CPUIDLE_IDLE_MONITORS_H_
  10. #define _CPUIDLE_IDLE_MONITORS_H_
  11. #define DEF(x) extern struct cpuidle_monitor x ##_monitor;
  12. #include "idle_monitors.def"
  13. #undef DEF
  14. extern struct cpuidle_monitor *all_monitors[];
  15. #endif /* _CPUIDLE_IDLE_MONITORS_H_ */