summaryrefslogtreecommitdiff
path: root/kernel/power/tuxonice_cluster.h
blob: 84356b3043c7f6a7b00a1cc3fa4c63f1c4dbd394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * kernel/power/tuxonice_cluster.h
 *
 * Copyright (C) 2006-2015 Nigel Cunningham (nigel at nigelcunningham com au)
 *
 * This file is released under the GPLv2.
 */

#ifdef CONFIG_TOI_CLUSTER
extern int toi_cluster_init(void);
extern void toi_cluster_exit(void);
extern void toi_initiate_cluster_hibernate(void);
#else
static inline int toi_cluster_init(void) { return 0; }
static inline void toi_cluster_exit(void) { }
static inline void toi_initiate_cluster_hibernate(void) { }
#endif