blob: c80bafe31f14fbff9abe09b5ad7294eecb38d4ba [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Dan Magenheimera50777c2011-07-08 12:26:21 -06002#ifndef _XEN_TMEM_H
3#define _XEN_TMEM_H
Jan Beulich8e6f7c22012-02-03 15:09:04 +00004
5#include <linux/types.h>
6
Dan Magenheimer10a7a0772013-04-30 15:27:00 -07007#ifdef CONFIG_XEN_TMEM_MODULE
8#define tmem_enabled true
9#else
Dan Magenheimera50777c2011-07-08 12:26:21 -060010/* defined in drivers/xen/tmem.c */
Jan Beulich8e6f7c22012-02-03 15:09:04 +000011extern bool tmem_enabled;
Dan Magenheimer10a7a0772013-04-30 15:27:00 -070012#endif
13
14#ifdef CONFIG_XEN_SELFBALLOONING
15extern int xen_selfballoon_init(bool, bool);
16#endif
Jan Beulich8e6f7c22012-02-03 15:09:04 +000017
Dan Magenheimera50777c2011-07-08 12:26:21 -060018#endif /* _XEN_TMEM_H */