All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: zcache: make zcache builtin only
@ 2012-03-05 16:46 Seth Jennings
  0 siblings, 0 replies; 2+ messages in thread
From: Seth Jennings @ 2012-03-05 16:46 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Seth Jennings, Dan Magenheimer, Thadeu Lima de Souza Cascardo,
	Konrad Rzeszutek Wilk, Nitin Gupta, Robert Jennings, devel,
	linux-kernel

zcache cannot currently be loaded as a module.  However
the Kconfig allows it to be built as a module; something that
the user probably does not intend since the module is not
loadable.

This patch switches zcache from a tristate to a bool in the Kconfig

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
---
 drivers/staging/zcache/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig
index 5a36fcf..3ed2c8f 100644
--- a/drivers/staging/zcache/Kconfig
+++ b/drivers/staging/zcache/Kconfig
@@ -1,5 +1,5 @@
 config ZCACHE
-	tristate "Dynamic compression of swap pages and clean pagecache pages"
+	bool "Dynamic compression of swap pages and clean pagecache pages"
 	# X86 dependency is because zsmalloc uses non-portable pte/tlb
 	# functions
 	depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] staging: zcache: make zcache builtin only
       [not found] <<1330965998-12116-1-git-send-email-sjenning@linux.vnet.ibm.com>
@ 2012-03-05 19:02 ` Dan Magenheimer
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Magenheimer @ 2012-03-05 19:02 UTC (permalink / raw)
  To: Seth Jennings, Greg Kroah-Hartman
  Cc: Dan Magenheimer, Thadeu Lima de Souza Cascardo,
	Konrad Rzeszutek Wilk, Nitin Gupta, Robert Jennings, devel,
	linux-kernel

> From: Seth Jennings [mailto:sjenning@linux.vnet.ibm.com]
> Sent: Monday, March 05, 2012 9:47 AM
> To: Greg Kroah-Hartman
> Cc: Seth Jennings; Dan Magenheimer; Thadeu Lima de Souza Cascardo; Konrad Rzeszutek Wilk; Nitin Gupta;
> Robert Jennings; devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org
> Subject: [PATCH] staging: zcache: make zcache builtin only
> 
> zcache cannot currently be loaded as a module.  However
> the Kconfig allows it to be built as a module; something that
> the user probably does not intend since the module is not
> loadable.
> 
> This patch switches zcache from a tristate to a bool in the Kconfig
> 
> Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>

Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>

> ---
>  drivers/staging/zcache/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig
> index 5a36fcf..3ed2c8f 100644
> --- a/drivers/staging/zcache/Kconfig
> +++ b/drivers/staging/zcache/Kconfig
> @@ -1,5 +1,5 @@
>  config ZCACHE
> -	tristate "Dynamic compression of swap pages and clean pagecache pages"
> +	bool "Dynamic compression of swap pages and clean pagecache pages"
>  	# X86 dependency is because zsmalloc uses non-portable pte/tlb
>  	# functions
>  	depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86
> --
> 1.7.5.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-05 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 16:46 [PATCH] staging: zcache: make zcache builtin only Seth Jennings
     [not found] <<1330965998-12116-1-git-send-email-sjenning@linux.vnet.ibm.com>
2012-03-05 19:02 ` Dan Magenheimer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.