Skip to content

Commit f00b516

Browse files
rddunlapLinus Torvalds
authored andcommitted
Update help text for CONFIG_CRASH_DUMP
Fix typos in CONFIG_RELOCATABLE. Use tab + 2 spaces for indentation on all lines. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Bernhard Walle <bwalle@suse.de> Cc: Vivek Goyal <vgoyal@in.ibm.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Haren Myneni <hbabu@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8bc9d42 commit f00b516

2 files changed

Lines changed: 20 additions & 18 deletions

File tree

‎arch/i386/Kconfig‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -831,12 +831,13 @@ config CRASH_DUMP
831831
depends on HIGHMEM
832832
help
833833
Generate crash dump after being started by kexec.
834-
This should be normally only set in special crash dump kernels
834+
This should be normally only set in special crash dump kernels
835835
which are loaded in the main kernel with kexec-tools into
836836
a specially reserved region and then later executed after
837837
a crash by kdump/kexec. The crash dump kernel must be compiled
838-
to a memory address not used by the main kernel or BIOS using
839-
PHYSICAL_START.
838+
to a memory address not used by the main kernel or BIOS using
839+
PHYSICAL_START, or it must be built as a relocatable image
840+
(CONFIG_RELOCATABLE=y).
840841
For more details see Documentation/kdump/kdump.txt
841842

842843
config PHYSICAL_START
@@ -882,17 +883,17 @@ config PHYSICAL_START
882883
Don't change this unless you know what you are doing.
883884

884885
config RELOCATABLE
885-
bool "Build a relocatable kernel(EXPERIMENTAL)"
886+
bool "Build a relocatable kernel (EXPERIMENTAL)"
886887
depends on EXPERIMENTAL
887888
help
888889
This builds a kernel image that retains relocation information
889-
so it can be loaded someplace besides the default 1MB.
890+
so it can be loaded someplace besides the default 1MB.
890891
The relocations tend to make the kernel binary about 10% larger,
891-
but are discarded at runtime.
892+
but are discarded at runtime.
892893

893894
One use is for the kexec on panic case where the recovery kernel
894-
must live at a different physical address than the primary
895-
kernel.
895+
must live at a different physical address than the primary
896+
kernel.
896897

897898
config PHYSICAL_ALIGN
898899
hex "Alignment value to which kernel should be aligned"

‎arch/x86_64/Kconfig‎

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -582,17 +582,18 @@ config CRASH_DUMP
582582
bool "kernel crash dumps (EXPERIMENTAL)"
583583
depends on EXPERIMENTAL
584584
help
585-
Generate crash dump after being started by kexec.
586-
This should be normally only set in special crash dump kernels
587-
which are loaded in the main kernel with kexec-tools into
588-
a specially reserved region and then later executed after
589-
a crash by kdump/kexec. The crash dump kernel must be compiled
585+
Generate crash dump after being started by kexec.
586+
This should be normally only set in special crash dump kernels
587+
which are loaded in the main kernel with kexec-tools into
588+
a specially reserved region and then later executed after
589+
a crash by kdump/kexec. The crash dump kernel must be compiled
590590
to a memory address not used by the main kernel or BIOS using
591-
PHYSICAL_START.
592-
For more details see Documentation/kdump/kdump.txt
591+
PHYSICAL_START, or it must be built as a relocatable image
592+
(CONFIG_RELOCATABLE=y).
593+
For more details see Documentation/kdump/kdump.txt
593594

594595
config RELOCATABLE
595-
bool "Build a relocatable kernel(EXPERIMENTAL)"
596+
bool "Build a relocatable kernel (EXPERIMENTAL)"
596597
depends on EXPERIMENTAL
597598
help
598599
Builds a relocatable kernel. This enables loading and running
@@ -603,8 +604,8 @@ config RELOCATABLE
603604
must live at a different physical address than the primary
604605
kernel.
605606

606-
Note: If CONFIG_RELOCATABLE=y, then kernel run from the address
607-
it has been loaded at and compile time physical address
607+
Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
608+
it has been loaded at and the compile time physical address
608609
(CONFIG_PHYSICAL_START) is ignored.
609610

610611
config PHYSICAL_START

0 commit comments

Comments
 (0)