The kernel image defined by
.I segments
is copied from the calling process into previously reserved memory.
+
+The
+.BR kexec_load ()
+system call is available only if the kernel was configured with
+.BR CONFIG_KEXEC .
.SS kexec_file_load()
The
.BR kexec_file_load ()
If this flag is set, the value passed in
.IR initrd_fd
is ignored.
+.PP
+The
+.BR kexec_file_load ()
+.\" See also http://lwn.net/Articles/603116/
+system call was added to provide support for systems
+where "kexec" loading should be restricted to
+only kernels that are signed.
+This system call is available only if the kernel was configured with
+.BR CONFIG_KEXEC_FILE .
.SH RETURN VALUE
On success, these system calls returns 0.
On error, \-1 is returned and
.IR linux/kexec.h ,
which is not currently exported to glibc.
Therefore, these constants must be defined manually.
-
-The
-.BR kexec_file_load ()
-.\" See also http://lwn.net/Articles/603116/
-system call was added to provide support for systems
-where "kexec" loading should be restricted to
-only kernels that are signed.
-
-The
-.BR kexec_load ()
-system call is available only if the kernel was configured with
-.BR CONFIG_KEXEC .
-The
-.BR kexec_file_load ()
-system call is available only if the kernel was configured with
-.BR CONFIG_KEXEC_FILE .
.SH SEE ALSO
.BR reboot (2),
.BR syscall (2),