2024-09-09 08:52:07 +00:00
|
|
|
#ifndef _XEN_TMEM_H
|
|
|
|
#define _XEN_TMEM_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#ifdef CONFIG_XEN_TMEM_MODULE
|
|
|
|
#define tmem_enabled true
|
|
|
|
#else
|
2024-09-09 08:52:07 +00:00
|
|
|
/* defined in drivers/xen/tmem.c */
|
|
|
|
extern bool tmem_enabled;
|
2024-09-09 08:57:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_XEN_SELFBALLOONING
|
|
|
|
extern int xen_selfballoon_init(bool, bool);
|
|
|
|
#endif
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
#endif /* _XEN_TMEM_H */
|