]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xen-tmem-enable-xen-tmem-shim-to-be-built-loaded-as-a-module-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Mar 2013 04:07:07 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:28:24 +0000 (16:28 +1100)
fix build (disable_frontswap_selfshrinking undeclared)

Cc: Andor Daam <andor.daam@googlemail.com>
Cc: Bob Liu <lliubbo@gmail.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Florian Schmaus <fschmaus@gmail.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Stefan Hengelein <ilendir@googlemail.com>
Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/xen/tmem.c

index ba46717dc7076ad4cce9a7397dd9115b010c9f27..8adde8e8428c9b0534a038e164a8e0d9e3f5e2c2 100644 (file)
@@ -382,6 +382,8 @@ static struct frontswap_ops tmem_frontswap_ops = {
        .invalidate_area = tmem_frontswap_flush_area,
        .init = tmem_frontswap_init
 };
+#else  /* CONFIG_FRONTSWAP */
+#define disable_frontswap_selfshrinking 1
 #endif
 
 static int xen_tmem_init(void)