-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
.\" Copyright (C) 2010 Intel Corporation
.\" Author: Andi Kleen
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
-.TH KEXEC_LOAD 2 2010-11-04 "Linux" "Linux Programmer's Manual"
+.\" %%%LICENSE_END
+.\"
+.TH KEXEC_LOAD 2 2012-07-13 "Linux" "Linux Programmer's Manual"
.SH NAME
kexec_load \- load a new kernel for later execution
.SH SYNOPSIS
.br
.BI " struct kexec_segment *" segments \
", unsigned long " flags ");"
+
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
.SH DESCRIPTION
The
.BR kexec_load ()
Execute the new kernel automatically on a system crash.
.\" FIXME figure out how this is really used
.TP
-.BR KEXEC_PRESERVE_CONTEXT " (since Linux 2.7.27)"
+.BR KEXEC_PRESERVE_CONTEXT " (since Linux 2.6.27)"
Preserve the system hardware and
software states before executing the new kernel.
This could be used for system suspend.
-This flag is only available if the kernel was configured with
+This flag is available only if the kernel was configured with
.BR CONFIG_KEXEC_JUMP ,
-and is only effective if
+and is effective only if
.I nr_segments
is greater than 0.
.PP
Call it using
.BR syscall (2).
.PP
-The required constants are in the kernel source file
+The required constants are in the Linux kernel source file
.IR linux/kexec.h ,
which is not currently exported to glibc.
.\" FIXME Andi submitted a patch for this.
.\" Check if it got accepted later.
Therefore, these constants must be defined manually.
-This system call is only available if the kernel was configured with
+This system call is available only if the kernel was configured with
.BR CONFIG_KEXEC .
.SH SEE ALSO
.BR reboot (2),
.BR syscall (2)
+.SH COLOPHON
+This page is part of release 3.64 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.