[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110118172151.GA20507@ca-server1.us.oracle.com>
Date: Tue, 18 Jan 2011 09:21:51 -0800
From: Dan Magenheimer <dan.magenheimer@...cle.com>
To: gregkh@...e.de, chris.mason@...cle.com, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org, matthew@....cx,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
ngupta@...are.org, jeremy@...p.org, kurt.hackel@...cle.com,
npiggin@...nel.dk, riel@...hat.com, konrad.wilk@...cle.com,
dan.magenheimer@...cle.com, mel@....ul.ie, minchan.kim@...il.com,
kosaki.motohiro@...fujitsu.com, sfr@...b.auug.org.au,
wfg@...l.ustc.edu.cn, tytso@....edu, viro@...IV.linux.org.uk,
hughd@...gle.com, hannes@...xchg.org
Subject: [PATCH V1 3/3] drivers/staging: kztmem: misc build/config
[PATCH V1 3/3] drivers/staging: kztmem: misc build/config
Makefiles and Kconfigs to build kztmem in drivers/staging
There is a dependency on xvmalloc.* which in 2.6.37 resides
in drivers/staging/zram. Should this move or disappear,
some Makefile/Kconfig changes will be required.
Signed-off-by: Dan Magenheimer <dan.magenheimer@...cle.com>
---
Diffstat:
drivers/staging/Kconfig | 2 ++
drivers/staging/Makefile | 1 +
drivers/staging/kztmem/Kconfig | 8 ++++++++
drivers/staging/kztmem/Makefile | 1 +
4 files changed, 12 insertions(+)
--- linux-2.6.37/drivers/staging/kztmem/Makefile 1969-12-31 17:00:00.000000000 -0700
+++ linux-2.6.37-kztmem/drivers/staging/kztmem/Makefile 2011-01-13 15:44:24.000000000 -0700
@@ -0,0 +1 @@
+obj-$(CONFIG_KZTMEM) += kztmem.o tmem.o
--- linux-2.6.37/drivers/staging/kztmem/Kconfig 1969-12-31 17:00:00.000000000 -0700
+++ linux-2.6.37-kztmem/drivers/staging/kztmem/Kconfig 2011-01-13 15:44:24.000000000 -0700
@@ -0,0 +1,8 @@
+config KZTMEM
+ tristate "In-kernel transcendent memory using compression"
+ select XVMALLOC
+ select LZO_COMPRESS
+ select LZO_DECOMPRESS
+ default n
+ help
+ In-kernel transcendent memory using compression
--- linux-2.6.37/drivers/staging/Makefile 2011-01-04 17:50:19.000000000 -0700
+++ linux-2.6.37-kztmem/drivers/staging/Makefile 2011-01-13 15:44:24.000000000 -0700
@@ -44,6 +44,7 @@ obj-$(CONFIG_VME_BUS) += vme/
obj-$(CONFIG_MRST_RAR_HANDLER) += memrar/
obj-$(CONFIG_IIO) += iio/
obj-$(CONFIG_ZRAM) += zram/
+obj-$(CONFIG_KZTMEM) += kztmem/
obj-$(CONFIG_WLAGS49_H2) += wlags49_h2/
obj-$(CONFIG_WLAGS49_H25) += wlags49_h25/
obj-$(CONFIG_BATMAN_ADV) += batman-adv/
--- linux-2.6.37/drivers/staging/Kconfig 2011-01-04 17:50:19.000000000 -0700
+++ linux-2.6.37-kztmem/drivers/staging/Kconfig 2011-01-13 15:44:24.000000000 -0700
@@ -123,6 +123,8 @@ source "drivers/staging/iio/Kconfig"
source "drivers/staging/zram/Kconfig"
+source "drivers/staging/kztmem/Kconfig"
+
source "drivers/staging/wlags49_h2/Kconfig"
source "drivers/staging/wlags49_h25/Kconfig"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists