aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2011-07-26 22:34:17 +0200
committermaximilian attems <max@stro.at>2011-07-27 15:50:53 +0200
commit236d23f01b1831e73b3fffee8cbf877dde4561eb (patch)
tree51caafb6f9024f3c8ccb414c51335edb0685e230
parentee265272146d32be7bfc05536832a42e47faa468 (diff)
downloadklibc-236d23f01b1831e73b3fffee8cbf877dde4561eb.tar.gz
[klibc] add support for kexec_load()klibc-1.5.24
With some hacks kexec-tools can compile against klibc. On the klibc side only this addition is missing. The patch has been carried in OpenEmbedded klibc for some time. Signed-off-by: Thomas Kunze <thommycheck@gmx.de> Signed-off-by: Yuri Bushmelev <jay4mail@gmail.com> Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/SYSCALLS.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index d3279c7ba29b7..be1f9bc420921 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);