From 1d6cb04781407ef559ef6b9a1db89149bafbbe76 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Oct 2016 15:39:12 +0200 Subject: linux: update 4.7.x kernel, add 4.8.x --- target/linux/patches/4.8.3/vdso2.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 target/linux/patches/4.8.3/vdso2.patch (limited to 'target/linux/patches/4.8.3/vdso2.patch') diff --git a/target/linux/patches/4.8.3/vdso2.patch b/target/linux/patches/4.8.3/vdso2.patch new file mode 100644 index 000000000..35df488a8 --- /dev/null +++ b/target/linux/patches/4.8.3/vdso2.patch @@ -0,0 +1,27 @@ +diff -Nur linux-4.7.2.orig/arch/x86/entry/vdso/vdso2c.c linux-4.7.2/arch/x86/entry/vdso/vdso2c.c +--- linux-4.7.2.orig/arch/x86/entry/vdso/vdso2c.c 2016-08-20 18:11:18.000000000 +0200 ++++ linux-4.7.2/arch/x86/entry/vdso/vdso2c.c 2016-09-04 11:11:01.000000000 +0200 +@@ -64,7 +64,15 @@ + #include + + #include ++#ifdef __linux__ + #include ++#else ++typedef _Bool bool; ++enum { ++ false = 0, ++ true = 1 ++}; ++#endif + + const char *outfilename; + +@@ -84,6 +92,7 @@ + sym_pvclock_page, + }; + ++ + struct vdso_sym { + const char *name; + bool export; -- cgit v1.2.3