xen/self-balloon: Add dependency on tmem.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 30 Jul 2011 15:21:09 +0000 (11:21 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Aug 2011 18:34:57 +0000 (14:34 -0400)
Without enabling CONFIG_XEN_TMEM we get this:

drivers/xen/xen-selfballoon.c:461: undefined reference to `tmem_enabled'

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Kconfig

index f815283667affd00f568fd16e8452d11ede21f89..5f7ff8e2fc1433c39229fce28d4fca39fe8ace73 100644 (file)
@@ -11,7 +11,7 @@ config XEN_BALLOON
 
 config XEN_SELFBALLOONING
        bool "Dynamically self-balloon kernel memory to target"
-       depends on XEN && XEN_BALLOON && CLEANCACHE && SWAP
+       depends on XEN && XEN_BALLOON && CLEANCACHE && SWAP && XEN_TMEM
        default n
        help
          Self-ballooning dynamically balloons available kernel memory driven