blob: 3930a90045ff2585dcd5bac3df2a353162a16ad9 [file] [log] [blame]
Dan Magenheimera50777c2011-07-08 12:26:21 -06001#ifndef _XEN_TMEM_H
2#define _XEN_TMEM_H
Jan Beulich8e6f7c22012-02-03 15:09:04 +00003
4#include <linux/types.h>
5
Dan Magenheimer10a7a0772013-04-30 15:27:00 -07006#ifdef CONFIG_XEN_TMEM_MODULE
7#define tmem_enabled true
8#else
Dan Magenheimera50777c2011-07-08 12:26:21 -06009/* defined in drivers/xen/tmem.c */
Jan Beulich8e6f7c22012-02-03 15:09:04 +000010extern bool tmem_enabled;
Dan Magenheimer10a7a0772013-04-30 15:27:00 -070011#endif
12
13#ifdef CONFIG_XEN_SELFBALLOONING
14extern int xen_selfballoon_init(bool, bool);
15#endif
Jan Beulich8e6f7c22012-02-03 15:09:04 +000016
Dan Magenheimera50777c2011-07-08 12:26:21 -060017#endif /* _XEN_TMEM_H */