projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xmem/tmem: fix 'undefined variable' build error.
[linux-2.6-block.git]
/
drivers
/
xen
/
tmem.c
diff --git
a/drivers/xen/tmem.c
b/drivers/xen/tmem.c
index 18e8bd8fa947994e46b5bd8fb9c09eda29918fa8..cc072c66c766523e4191c5cf4cd40762b77645a9 100644
(file)
--- 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