diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index 18e8bd8fa947994e46b5bd8fb9c09eda29918fa8..cc072c66c766523e4191c5cf4cd40762b77645a9 100644 --- a/drivers/xen/tmem.c +++ b/drivers/xen/tmem.c @@ -41,6 +41,8 @@ module_param(selfballooning, bool, S_IRUGO); #ifdef CONFIG_FRONTSWAP static bool frontswap __read_mostly = true; module_param(frontswap, bool, S_IRUGO); +#else /* CONFIG_FRONTSWAP */ +#define frontswap (0) #endif /* CONFIG_FRONTSWAP */ #ifdef CONFIG_XEN_SELFBALLOONING