blob: b03fb9126560819bd6ee4f190386b4ff5eb6b91b [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 90683d5eaabfa684a71411d6e3262153ac191ad8 Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Tue, 4 Sep 2018 23:44:30 +0200
4Subject: [PATCH 1/1] klibc_2.0.4: add kexec_file_load syscall
5
6for supported archs only (matched in kexec-tools)
7
8Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
9---
10 usr/klibc/SYSCALLS.def | 1 +
11 1 file changed, 1 insertion(+)
12
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013--- a/usr/klibc/SYSCALLS.def
14+++ b/usr/klibc/SYSCALLS.def
Andrew Geisslerac970dd2021-02-12 15:32:45 -060015@@ -274,6 +274,7 @@ int reboot::__reboot(int, int, int, void
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016 int syslog::klogctl(int, char *, int);
17 int sysinfo(struct sysinfo *);
18 long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long);
19+<x86_64,ppc64,s390x> long kexec_file_load(int, int, unsigned long, const char *, unsigned long);
20
21 /*
22 * Low-level I/O (generally architecture-specific);