mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
36 lines
1 KiB
Diff
36 lines
1 KiB
Diff
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"
|