diff options
author | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-01 16:57:24 +0000 |
---|---|---|
committer | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-01 16:57:24 +0000 |
commit | 5ef70c6dac645535d60bd29ff0d6813b0429a6ae (patch) | |
tree | 2a7ad6a5f846233b486dc7a38270bbd8978e0d6a /package/compcache/patches/003-no_stats.patch | |
parent | 52159878ce88da4c8242dbc25735e4efbc0a3950 (diff) |
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/003-no_stats.patch')
-rw-r--r-- | package/compcache/patches/003-no_stats.patch | 12 |
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 |