aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/patches/002-kernel-2.6.34-compat.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-06-17 19:29:57 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-06-17 19:29:57 +0000
commit247b1ff93e7bf0eaf41201d98ad3d3a077a120c4 (patch)
treedcdc188222b79cddd687968f8e6b929d0a0cdc7c /package/compcache/patches/002-kernel-2.6.34-compat.patch
parent27e4cb3628c457253dc47b9ca9201ef89f1a456b (diff)
downloadupstream-247b1ff93e7bf0eaf41201d98ad3d3a077a120c4.tar.gz
upstream-247b1ff93e7bf0eaf41201d98ad3d3a077a120c4.tar.bz2
upstream-247b1ff93e7bf0eaf41201d98ad3d3a077a120c4.zip
compile fixes for kernel 2.6.34
SVN-Revision: 21829
Diffstat (limited to 'package/compcache/patches/002-kernel-2.6.34-compat.patch')
-rw-r--r--package/compcache/patches/002-kernel-2.6.34-compat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/compcache/patches/002-kernel-2.6.34-compat.patch b/package/compcache/patches/002-kernel-2.6.34-compat.patch
new file mode 100644
index 0000000000..5cd8129f80
--- /dev/null
+++ b/package/compcache/patches/002-kernel-2.6.34-compat.patch
@@ -0,0 +1,10 @@
+--- a/ramzswap_drv.c
++++ b/ramzswap_drv.c
+@@ -23,6 +23,7 @@
+ #include <linux/device.h>
+ #include <linux/genhd.h>
+ #include <linux/highmem.h>
++#include <linux/slab.h>
+ #include <linux/string.h>
+ #include <linux/swap.h>
+ #include <linux/swapops.h>