Skip to content

Commit 11a98f3

Browse files
Cao jinsuryasaimadhu
authored andcommitted
x86: Fix typos in comments
BIOSen -> BIOSes; paing -> paging. Append to 640 its proper unit "Kb". encomapssing -> encompassing. [ bp: Merge into a single patch, fix one more typo, massage. ] Signed-off-by: Cao jin <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Baoquan He <[email protected]> Cc: Dave Young <[email protected]> Cc: David Howells <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Robert Richter <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Thomas Lendacky <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent b52b0c4 commit 11a98f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch/x86/kernel/setup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static void __init memblock_x86_reserve_range_setup_data(void)
459459
* due to mapping restrictions.
460460
*
461461
* On 64bit, kdump kernel need be restricted to be under 64TB, which is
462-
* the upper limit of system RAM in 4-level paing mode. Since the kdump
462+
* the upper limit of system RAM in 4-level paging mode. Since the kdump
463463
* jumping could be from 5-level to 4-level, the jumping will fail if
464464
* kernel is put above 64TB, and there's no way to detect the paging mode
465465
* of the kernel which will be loaded for dumping during the 1st kernel
@@ -743,8 +743,8 @@ static void __init trim_bios_range(void)
743743
e820__range_update(0, PAGE_SIZE, E820_TYPE_RAM, E820_TYPE_RESERVED);
744744

745745
/*
746-
* special case: Some BIOSen report the PC BIOS
747-
* area (640->1Mb) as ram even though it is not.
746+
* special case: Some BIOSes report the PC BIOS
747+
* area (640Kb -> 1Mb) as RAM even though it is not.
748748
* take them out.
749749
*/
750750
e820__range_remove(BIOS_BEGIN, BIOS_END - BIOS_BEGIN, E820_TYPE_RAM, 1);

arch/x86/mm/numa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ static int __init dummy_numa_init(void)
699699
* x86_numa_init - Initialize NUMA
700700
*
701701
* Try each configured NUMA initialization method until one succeeds. The
702-
* last fallback is dummy single node config encomapssing whole memory and
702+
* last fallback is dummy single node config encompassing whole memory and
703703
* never fails.
704704
*/
705705
void __init x86_numa_init(void)

0 commit comments

Comments
 (0)