tmem.h 310 B

123456789101112131415161718
  1. #ifndef _XEN_TMEM_H
  2. #define _XEN_TMEM_H
  3. #include <linux/types.h>
  4. #ifdef CONFIG_XEN_TMEM_MODULE
  5. #define tmem_enabled true
  6. #else
  7. /* defined in drivers/xen/tmem.c */
  8. extern bool tmem_enabled;
  9. #endif
  10. #ifdef CONFIG_XEN_SELFBALLOONING
  11. extern int xen_selfballoon_init(bool, bool);
  12. #endif
  13. #endif /* _XEN_TMEM_H */