]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
kexec_load.2: Move some text from NOTES to DESCRIPTION
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 7 Jan 2015 20:21:11 +0000 (21:21 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 28 Jan 2015 20:56:32 +0000 (21:56 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/kexec_load.2

index 8c2e8da48bb99f9859f9cd17cddfd0491d5a50c0..6de034b2d766828bdec3ee621a5126fb0e005754 100644 (file)
@@ -121,6 +121,11 @@ struct kexec_segment {
 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 ()
@@ -159,6 +164,15 @@ Specify this flag if no initramfs is being loaded.
 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
@@ -203,22 +217,6 @@ The required constants are in the Linux kernel source file
 .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),