summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.19.151/vdso2.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-02-25 09:20:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-02-25 10:04:44 +0100
commit009336f7557ef8a74873f6bddcaa31399eede451 (patch)
treee11723a633238f60f5b08d8abfe430a3d43b5b10 /target/linux/patches/4.19.151/vdso2.patch
parent60e80f0d94a27ce3cba912ee5bf3ebd82bbe0a42 (diff)
linux: update kernels
Diffstat (limited to 'target/linux/patches/4.19.151/vdso2.patch')
-rw-r--r--target/linux/patches/4.19.151/vdso2.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/patches/4.19.151/vdso2.patch b/target/linux/patches/4.19.151/vdso2.patch
deleted file mode 100644
index 3d9d47ede..000000000
--- a/target/linux/patches/4.19.151/vdso2.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nur linux-4.19.151.orig/arch/x86/entry/vdso/vdso2c.c linux-4.19.151/arch/x86/entry/vdso/vdso2c.c
---- linux-4.19.151.orig/arch/x86/entry/vdso/vdso2c.c 2020-10-14 10:31:27.000000000 +0200
-+++ linux-4.19.151/arch/x86/entry/vdso/vdso2c.c 2020-10-17 06:09:50.000000000 +0200
-@@ -64,8 +64,20 @@
- #include <tools/le_byteshift.h>
-
- #include <linux/elf.h>
-+#ifdef __linux__
- #include <linux/types.h>
- #include <linux/kernel.h>
-+#else
-+
-+#define __must_be_array(a) 0
-+#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
-+
-+typedef _Bool bool;
-+enum {
-+ false = 0,
-+ true = 1
-+};
-+#endif
-
- const char *outfilename;
-