Dan Magenheimer | a50777c | 2011-07-08 12:26:21 -0600 | [diff] [blame] | 1 | #ifndef _XEN_TMEM_H |
| 2 | #define _XEN_TMEM_H |
Jan Beulich | 8e6f7c2 | 2012-02-03 15:09:04 +0000 | [diff] [blame] | 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
Dan Magenheimer | 10a7a077 | 2013-04-30 15:27:00 -0700 | [diff] [blame] | 6 | #ifdef CONFIG_XEN_TMEM_MODULE |
| 7 | #define tmem_enabled true |
| 8 | #else |
Dan Magenheimer | a50777c | 2011-07-08 12:26:21 -0600 | [diff] [blame] | 9 | /* defined in drivers/xen/tmem.c */ |
Jan Beulich | 8e6f7c2 | 2012-02-03 15:09:04 +0000 | [diff] [blame] | 10 | extern bool tmem_enabled; |
Dan Magenheimer | 10a7a077 | 2013-04-30 15:27:00 -0700 | [diff] [blame] | 11 | #endif |
| 12 | |
| 13 | #ifdef CONFIG_XEN_SELFBALLOONING |
| 14 | extern int xen_selfballoon_init(bool, bool); |
| 15 | #endif |
Jan Beulich | 8e6f7c2 | 2012-02-03 15:09:04 +0000 | [diff] [blame] | 16 | |
Dan Magenheimer | a50777c | 2011-07-08 12:26:21 -0600 | [diff] [blame] | 17 | #endif /* _XEN_TMEM_H */ |