aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/flashcache-grsec/kernel-4.2.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:42:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:43:33 +0000
commit0fa6e9868fed8eb09e8ce9038baaaf4f0cdf684d (patch)
tree2a521da5590be80df2e1250e6c889c039c60165f /unmaintained/flashcache-grsec/kernel-4.2.patch
parent89f5322ecfac37b34b1a9cd9d64bb578e538b1d1 (diff)
downloadaports-0fa6e9868fed8eb09e8ce9038baaaf4f0cdf684d.tar.bz2
aports-0fa6e9868fed8eb09e8ce9038baaaf4f0cdf684d.tar.xz
testing/flashcache-grsec: move to unmaintained
its also unmaintained upstream
Diffstat (limited to 'unmaintained/flashcache-grsec/kernel-4.2.patch')
-rw-r--r--unmaintained/flashcache-grsec/kernel-4.2.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/flashcache-grsec/kernel-4.2.patch b/unmaintained/flashcache-grsec/kernel-4.2.patch
new file mode 100644
index 0000000000..7f2b5c6e01
--- /dev/null
+++ b/unmaintained/flashcache-grsec/kernel-4.2.patch
@@ -0,0 +1,36 @@
+From 0feecf4de9d94cd903a7db373b8cd5cb0eef1987 Mon Sep 17 00:00:00 2001
+From: Vinson Lee <vlee@twitter.com>
+Date: Wed, 1 Jul 2015 14:12:47 -0700
+Subject: [PATCH] Fix Linux 4.2 compilation errors.
+
+Signed-off-by: Vinson Lee <vlee@twitter.com>
+---
+ src/flashcache_conf.c | 1 +
+ src/flashcache_kcopy.c | 1 +
+ src/flashcache_subr.c | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/src/flashcache_conf.c b/src/flashcache_conf.c
+index 43f4387..0ca05f7 100644
+--- a/src/flashcache_conf.c
++++ b/src/flashcache_conf.c
+@@ -41,6 +41,7 @@
+ #include <linux/delay.h>
+ #include <linux/proc_fs.h>
+ #include <linux/seq_file.h>
++#include <linux/vmalloc.h>
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
+ #include "dm.h"
+diff --git a/src/flashcache_subr.c b/src/flashcache_subr.c
+index 8d0bae5..ef931d4 100644
+--- a/src/flashcache_subr.c
++++ b/src/flashcache_subr.c
+@@ -41,6 +41,7 @@
+ #include <linux/time.h>
+ #include <asm/kmap_types.h>
+ #include <linux/jhash.h>
++#include <linux/vmalloc.h>
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
+ #include "dm.h"