Merge remote-tracking branch 'regulator/fix/qcom-spmi' into regulator-linus
[sfrench/cifs-2.6.git] / include / xen / tmem.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _XEN_TMEM_H
3 #define _XEN_TMEM_H
4
5 #include <linux/types.h>
6
7 #ifdef CONFIG_XEN_TMEM_MODULE
8 #define tmem_enabled true
9 #else
10 /* defined in drivers/xen/tmem.c */
11 extern bool tmem_enabled;
12 #endif
13
14 #ifdef CONFIG_XEN_SELFBALLOONING
15 extern int xen_selfballoon_init(bool, bool);
16 #endif
17
18 #endif /* _XEN_TMEM_H */