aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/0001-klibc_2.0.4-add-kexec_file_load-syscall.patch
blob: 16885488e4abf57ab3cd08b6f9e2135fa33583c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 90683d5eaabfa684a71411d6e3262153ac191ad8 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Tue, 4 Sep 2018 23:44:30 +0200
Subject: [PATCH 1/1] klibc_2.0.4: add kexec_file_load syscall

for supported archs only (matched in kexec-tools)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
Upstream-Status: Pending

 usr/klibc/SYSCALLS.def | 1 +
 1 file changed, 1 insertion(+)

--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -274,6 +274,7 @@ int reboot::__reboot(int, int, int, void
 int syslog::klogctl(int, char *, int);
 int sysinfo(struct sysinfo *);
 long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long);
+<x86_64,ppc64,s390x> long kexec_file_load(int, int, unsigned long, const char *, unsigned long);
 
 /*
  * Low-level I/O (generally architecture-specific);