aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/patches
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-08-01 16:57:24 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-08-01 16:57:24 +0000
commit54913f956b6dee3e647d9ed2ec363795feb11475 (patch)
tree2a7ad6a5f846233b486dc7a38270bbd8978e0d6a /package/compcache/patches
parent505c98f1f6e6b7c08eb88e9c6385684a5305dc1d (diff)
downloadupstream-54913f956b6dee3e647d9ed2ec363795feb11475.tar.gz
upstream-54913f956b6dee3e647d9ed2ec363795feb11475.tar.bz2
upstream-54913f956b6dee3e647d9ed2ec363795feb11475.zip
package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/compcache/patches')
-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