aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/patches/003-no_stats.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/compcache/patches/003-no_stats.patch')
-rw-r--r--package/compcache/patches/003-no_stats.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/compcache/patches/003-no_stats.patch b/package/compcache/patches/003-no_stats.patch
new file mode 100644
index 0000000000..bfa25f8c98
--- /dev/null
+++ b/package/compcache/patches/003-no_stats.patch
@@ -0,0 +1,12 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,8 +2,7 @@ KERNEL_BUILD_PATH ?= "/lib/modules/$(she
+
+ XVM = sub-projects/allocators/xvmalloc-kmod
+ LZO = sub-projects/compression/lzo-kmod
+-EXTRA_CFLAGS := -DCONFIG_RAMZSWAP_STATS \
+- -Wall
++EXTRA_CFLAGS := -Wall
+
+ obj-m += ramzswap.o $(LZO)/lzo1x.o
+ ramzswap-objs := ramzswap_drv.o $(XVM)/xvmalloc.o