Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317770
b: refs/heads/master
c: f64d94f
h: refs/heads/master
v: v3
  • Loading branch information
Xiao Guangrong authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent 136f6f8 commit 5cb3e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a16554474f772ea857bf193608231a735e01cccc
refs/heads/master: f64d94f9f7536842a120f6eef4cfd4cfcd516f5e
7 changes: 2 additions & 5 deletions trunk/drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

#include "../zsmalloc/zsmalloc.h"

#if (!defined(CONFIG_CLEANCACHE) && !defined(CONFIG_FRONTSWAP))
#error "zcache is useless without CONFIG_CLEANCACHE or CONFIG_FRONTSWAP"
#endif
#ifdef CONFIG_CLEANCACHE
#include <linux/cleancache.h>
#endif
Expand Down Expand Up @@ -2028,7 +2025,7 @@ static int __init zcache_init(void)
goto out;
}
#endif /* CONFIG_SYSFS */
#if defined(CONFIG_CLEANCACHE) || defined(CONFIG_FRONTSWAP)

if (zcache_enabled) {
unsigned int cpu;

Expand Down Expand Up @@ -2059,7 +2056,7 @@ static int __init zcache_init(void)
pr_err("zcache: can't create client\n");
goto out;
}
#endif

#ifdef CONFIG_CLEANCACHE
if (zcache_enabled && use_cleancache) {
struct cleancache_ops old_ops;
Expand Down

0 comments on commit 5cb3e15

Please sign in to comment.