[klibc] [PATCH] add support for kexec_load()

maximilian attems max at stro.at
Tue Jul 26 13:38:39 PDT 2011


With some hacks kexec-tools can compile against klibc.
On the klibc side only this syscall addition is missing.
The patch has been carried in OpenEmbedded klibc for some time.

Signed-off-by: Thomas Kunze <thommycheck at gmx.de>
Signed-off-by: Yuri Bushmelev <jay4mail at gmail.com>
Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
Signed-off-by: maximilian attems <max at stro.at>
---
 usr/klibc/SYSCALLS.def |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index d3279c7..be1f9bc 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -248,6 +248,7 @@ long delete_module(const char *, unsigned int);
 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);
 
 /*
  * Low-level I/O (generally architecture-specific);
-- 
1.7.5.4



More information about the klibc mailing list