summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-kernel/kernel-selftest/kernel-selftest')
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-bpf-test_progs.c-add-support-for-musllibc.patch25
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-swap.h-micro-define-to-support-musl-libc.patch26
2 files changed, 0 insertions, 51 deletions
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-bpf-test_progs.c-add-support-for-musllibc.patch b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-bpf-test_progs.c-add-support-for-musllibc.patch
deleted file mode 100644
index 5f2542681..000000000
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-bpf-test_progs.c-add-support-for-musllibc.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From a2e6b8fde28b743b69990a4e16c296e099631ed4 Mon Sep 17 00:00:00 2001
2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Mon, 23 Jul 2018 00:56:19 -0700
4Subject: [PATCH] bpf: test_progs.c add support for musllibc
5
6Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
7---
8 tools/testing/selftests/bpf/test_progs.c | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/tools/testing/selftests/bpf/test_progs.c b/tools/testing/selftests/bpf/test_progs.c
12index 11ee25c..21b27b7 100644
13--- a/tools/testing/selftests/bpf/test_progs.c
14+++ b/tools/testing/selftests/bpf/test_progs.c
15@@ -4,6 +4,7 @@
16 * modify it under the terms of version 2 of the GNU General Public
17 * License as published by the Free Software Foundation.
18 */
19+#define __always_inline __inline __attribute__ ((__always_inline__))
20 #include <stdio.h>
21 #include <unistd.h>
22 #include <errno.h>
23--
242.11.0
25
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-swap.h-micro-define-to-support-musl-libc.patch b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-swap.h-micro-define-to-support-musl-libc.patch
deleted file mode 100644
index e2245fc4c..000000000
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-swap.h-micro-define-to-support-musl-libc.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From c21dfb0dfdfec281479e267ad7fe9a8d4ba15a70 Mon Sep 17 00:00:00 2001
2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Tue, 17 Jul 2018 23:47:48 -0700
4Subject: [PATCH] add micro define to support musl libc
5
6Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
7---
8 recipe-sysroot/usr/include/linux/swab.h | 2 ++
9 1 file changed, 2 insertions(+)
10
11diff --git a/recipe-sysroot/usr/include/linux/swab.h b/recipe-sysroot/usr/include/linux/swab.h
12index afb7eb7..33efa10 100644
13--- a/recipe-sysroot/usr/include/linux/swab.h
14+++ b/recipe-sysroot/usr/include/linux/swab.h
15@@ -6,6 +6,8 @@
16
17 #include <asm/swab.h>
18
19+#define __always_inline __inline __attribute__ ((__always_inline__))
20+
21 /*
22 * casts are necessary for constants, because we never know how for sure
23 * how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.
24--
252.11.0
26