From 9b7f9272a5462e03daea0b316f9047e103866ed3 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 6 May 2015 22:51:54 +0300 Subject: [PATCH] build: support linux-4 --- loop-h-version.h | 4 +++- loop.c-4.x.patched | 1 + loop.h-4.x.patched | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 loop.c-4.x.patched create mode 120000 loop.h-4.x.patched diff --git a/loop-h-version.h b/loop-h-version.h index 8e6a734..84a538c 100644 --- a/loop-h-version.h +++ b/loop-h-version.h @@ -1,5 +1,7 @@ #include -#if LINUX_VERSION_CODE >= 0x30000 +#if LINUX_VERSION_CODE >= 0x40000 +# include "loop.h-4.x.patched" +#elif LINUX_VERSION_CODE >= 0x30000 # include "loop.h-3.x.patched" #elif LINUX_VERSION_CODE >= 0x20600 # include "loop.h-2.6.patched" diff --git a/loop.c-4.x.patched b/loop.c-4.x.patched new file mode 120000 index 0000000..b6e51c3 --- /dev/null +++ b/loop.c-4.x.patched @@ -0,0 +1 @@ +loop.c-3.x.patched \ No newline at end of file diff --git a/loop.h-4.x.patched b/loop.h-4.x.patched new file mode 120000 index 0000000..0924ecb --- /dev/null +++ b/loop.h-4.x.patched @@ -0,0 +1 @@ +loop.h-3.x.patched \ No newline at end of file -- 2.3.6