Skip to content

Commit dd671f1

Browse files
JuliaLawallwilldeacon
authored andcommitted
arm64: fix typos in comments
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://lore.kernel.org/r/20220318103729.157574-10-Julia.Lawall@inria.fr [will: Squashed in 20220318103729.157574-28-Julia.Lawall@inria.fr] Signed-off-by: Will Deacon <will@kernel.org>
1 parent 5524cbb commit dd671f1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

arch/arm64/kernel/hw_breakpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ NOKPROBE_SYMBOL(breakpoint_handler);
701701
* addresses. There is no straight-forward way, short of disassembling the
702702
* offending instruction, to map that address back to the watchpoint. This
703703
* function computes the distance of the memory access from the watchpoint as a
704-
* heuristic for the likelyhood that a given access triggered the watchpoint.
704+
* heuristic for the likelihood that a given access triggered the watchpoint.
705705
*
706706
* See Section D2.10.5 "Determining the memory location that caused a Watchpoint
707707
* exception" of ARMv8 Architecture Reference Manual for details.

arch/arm64/kernel/module-plts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num,
220220
* increasing the section's alignment so that the
221221
* resulting address of this instruction is guaranteed
222222
* to equal the offset in that particular bit (as well
223-
* as all less signficant bits). This ensures that the
223+
* as all less significant bits). This ensures that the
224224
* address modulo 4 KB != 0xfff8 or 0xfffc (which would
225225
* have all ones in bits [11:3])
226226
*/

arch/arm64/kernel/suspend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
140140
/*
141141
* Restore pstate flags. OS lock and mdscr have been already
142142
* restored, so from this point onwards, debugging is fully
143-
* renabled if it was enabled when core started shutdown.
143+
* reenabled if it was enabled when core started shutdown.
144144
*/
145145
local_daif_restore(flags);
146146

arch/arm64/mm/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ EXPORT_SYMBOL(memstart_addr);
7373
* In this scheme a comparatively quicker boot is observed.
7474
*
7575
* If ZONE_DMA configs are defined, crash kernel memory reservation
76-
* is delayed until DMA zone memory range size initilazation performed in
76+
* is delayed until DMA zone memory range size initialization performed in
7777
* zone_sizes_init(). The defer is necessary to steer clear of DMA zone
7878
* memory range to avoid overlap allocation. So crash kernel memory boundaries
7979
* are not known when mapping all bank memory ranges, which otherwise means
8080
* not possible to exclude crash kernel range from creating block mappings
8181
* so page-granularity mappings are created for the entire memory range.
8282
* Hence a slightly slower boot is observed.
8383
*
84-
* Note: Page-granularity mapppings are necessary for crash kernel memory
84+
* Note: Page-granularity mappings are necessary for crash kernel memory
8585
* range for shrinking its size via /sys/kernel/kexec_crash_size interface.
8686
*/
8787
#if IS_ENABLED(CONFIG_ZONE_DMA) || IS_ENABLED(CONFIG_ZONE_DMA32)

0 commit comments

Comments
 (0)