tuxonice_cluster.h 481 B

123456789101112131415161718
  1. /*
  2. * kernel/power/tuxonice_cluster.h
  3. *
  4. * Copyright (C) 2006-2014 Nigel Cunningham (nigel at tuxonice net)
  5. *
  6. * This file is released under the GPLv2.
  7. */
  8. #ifdef CONFIG_TOI_CLUSTER
  9. extern int toi_cluster_init(void);
  10. extern void toi_cluster_exit(void);
  11. extern void toi_initiate_cluster_hibernate(void);
  12. #else
  13. static inline int toi_cluster_init(void) { return 0; }
  14. static inline void toi_cluster_exit(void) { }
  15. static inline void toi_initiate_cluster_hibernate(void) { }
  16. #endif