summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch')
-rw-r--r--meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch
index ad2126698..f4d0d5d94 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0014-add-if_nameindex-from-musl.patch
@@ -1,7 +1,7 @@
1From b15e9610b4ab52c381e712241d50dea96d50d873 Mon Sep 17 00:00:00 2001 1From 04eec97b390621f2b3794b0d774b77429eb88cfd Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com> 2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Wed, 2 May 2018 23:14:19 +0200 3Date: Wed, 2 May 2018 23:14:19 +0200
4Subject: [PATCH 14/14] add if_nameindex from musl 4Subject: [PATCH] add if_nameindex from musl
5 5
6Taken from musl, minimal changes. 6Taken from musl, minimal changes.
7klibc lacks struct and func 7klibc lacks struct and func
@@ -20,10 +20,11 @@ to fix :
20 #define __bitwise __bitwise__ 20 #define __bitwise __bitwise__
21 21
22Signed-off-by: Andrea Adami <andrea.adami@gmail.com> 22Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
23
23--- 24---
24 kexec/Makefile | 2 +- 25 kexec/Makefile | 2 +-
25 kexec/if_nameindex.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 26 kexec/if_nameindex.c | 64 ++++++++++++++++++++++++++++++++++++++++++++
26 kexec/if_nameindex.h | 15 ++++++++++++ 27 kexec/if_nameindex.h | 15 +++++++++++
27 kexec/ifdown.c | 3 +++ 28 kexec/ifdown.c | 3 +++
28 4 files changed, 83 insertions(+), 1 deletion(-) 29 4 files changed, 83 insertions(+), 1 deletion(-)
29 create mode 100644 kexec/if_nameindex.c 30 create mode 100644 kexec/if_nameindex.c
@@ -114,7 +115,7 @@ index 0000000..e586e41
114+} 115+}
115diff --git a/kexec/if_nameindex.h b/kexec/if_nameindex.h 116diff --git a/kexec/if_nameindex.h b/kexec/if_nameindex.h
116new file mode 100644 117new file mode 100644
117index 0000000..1725fbd 118index 0000000..cf1c061
118--- /dev/null 119--- /dev/null
119+++ b/kexec/if_nameindex.h 120+++ b/kexec/if_nameindex.h
120@@ -0,0 +1,15 @@ 121@@ -0,0 +1,15 @@
@@ -147,6 +148,3 @@ index 82c6141..cc3ca9f 100644
147 148
148 /* 149 /*
149 * First, we find all shaper devices and down them. Then we 150 * First, we find all shaper devices and down them. Then we
150--
1512.7.4
152