summaryrefslogtreecommitdiff
path: root/drivers/xen/Kconfig
diff options
context:
space:
mode:
authorDan Magenheimer <dan.magenheimer@oracle.com>2011-06-18 01:06:20 +0400
committerDan Magenheimer <dan.magenheimer@oracle.com>2011-06-18 01:06:20 +0400
commitafec6e04922d0c8c7e244be2e544bac5e7e36294 (patch)
tree45bb22e18e87b6a618a12c39426cb4914f446d15 /drivers/xen/Kconfig
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
downloadlinux-afec6e04922d0c8c7e244be2e544bac5e7e36294.tar.xz
xen: prepare tmem shim to handle frontswap
Provide the shim code for frontswap for Xen tmem even if the frontswap patchset is not present yet. (The egg is before the chicken.) Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Reviewed-by: Konrad Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r--drivers/xen/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index a59638b37c1a..be8732c32185 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -105,4 +105,11 @@ config SWIOTLB_XEN
depends on PCI
select SWIOTLB
+config XEN_TMEM
+ bool
+ default y if (CLEANCACHE || FRONTSWAP)
+ help
+ Shim to interface in-kernel Transcendent Memory hooks
+ (e.g. cleancache and frontswap) to Xen tmem hypercalls.
+
endmenu