2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2011-07-08 12:26:21 -06:00
|
|
|
#ifndef _XEN_TMEM_H
|
|
|
|
|
#define _XEN_TMEM_H
|
2012-02-03 15:09:04 +00:00
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
2013-04-30 15:27:00 -07:00
|
|
|
#ifdef CONFIG_XEN_TMEM_MODULE
|
|
|
|
|
#define tmem_enabled true
|
|
|
|
|
#else
|
2011-07-08 12:26:21 -06:00
|
|
|
/* defined in drivers/xen/tmem.c */
|
2012-02-03 15:09:04 +00:00
|
|
|
extern bool tmem_enabled;
|
2013-04-30 15:27:00 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_XEN_SELFBALLOONING
|
|
|
|
|
extern int xen_selfballoon_init(bool, bool);
|
|
|
|
|
#endif
|
2012-02-03 15:09:04 +00:00
|
|
|
|
2011-07-08 12:26:21 -06:00
|
|
|
#endif /* _XEN_TMEM_H */
|