Skip to content

Commit 96ac403

Browse files
mrigendrachaubeyctmarinas
authored andcommitted
arm64: Fix typos and spelling errors in comments
This patch corrects several minor typographical and spelling errors in comments across multiple arm64 source files. No functional changes. Signed-off-by: mrigendrachaubey <mrigendra.chaubey@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 3a86608 commit 96ac403

18 files changed

Lines changed: 22 additions & 22 deletions

File tree

arch/arm64/include/asm/assembler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ alternative_endif
371371
* [start, end) with dcache line size explicitly provided.
372372
*
373373
* op: operation passed to dc instruction
374-
* domain: domain used in dsb instruciton
374+
* domain: domain used in dsb instruction
375375
* start: starting virtual address of the region
376376
* end: end virtual address of the region
377377
* linesz: dcache line size
@@ -412,7 +412,7 @@ alternative_endif
412412
* [start, end)
413413
*
414414
* op: operation passed to dc instruction
415-
* domain: domain used in dsb instruciton
415+
* domain: domain used in dsb instruction
416416
* start: starting virtual address of the region
417417
* end: end virtual address of the region
418418
* fixup: optional label to branch to on user fault

arch/arm64/include/asm/cpufeature.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ extern struct arm64_ftr_reg arm64_ftr_reg_ctrel0;
199199
* registers (e.g, SCTLR, TCR etc.) or patching the kernel via
200200
* alternatives. The kernel patching is batched and performed at later
201201
* point. The actions are always initiated only after the capability
202-
* is finalised. This is usally denoted by "enabling" the capability.
202+
* is finalised. This is usually denoted by "enabling" the capability.
203203
* The actions are initiated as follows :
204204
* a) Action is triggered on all online CPUs, after the capability is
205205
* finalised, invoked within the stop_machine() context from
@@ -251,7 +251,7 @@ extern struct arm64_ftr_reg arm64_ftr_reg_ctrel0;
251251
#define ARM64_CPUCAP_SCOPE_LOCAL_CPU ((u16)BIT(0))
252252
#define ARM64_CPUCAP_SCOPE_SYSTEM ((u16)BIT(1))
253253
/*
254-
* The capabilitiy is detected on the Boot CPU and is used by kernel
254+
* The capability is detected on the Boot CPU and is used by kernel
255255
* during early boot. i.e, the capability should be "detected" and
256256
* "enabled" as early as possibly on all booting CPUs.
257257
*/

arch/arm64/include/asm/el2_setup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Fruity CPUs seem to have HCR_EL2.E2H set to RAO/WI, but
2929
* don't advertise it (they predate this relaxation).
3030
*
31-
* Initalize HCR_EL2.E2H so that later code can rely upon HCR_EL2.E2H
31+
* Initialize HCR_EL2.E2H so that later code can rely upon HCR_EL2.E2H
3232
* indicating whether the CPU is running in E2H mode.
3333
*/
3434
mrs_s x1, SYS_ID_AA64MMFR4_EL1

arch/arm64/include/asm/pgtable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ bool pgattr_change_is_safe(pteval_t old, pteval_t new);
432432
* 1 0 | 1 0 1
433433
* 1 1 | 0 1 x
434434
*
435-
* When hardware DBM is not present, the sofware PTE_DIRTY bit is updated via
435+
* When hardware DBM is not present, the software PTE_DIRTY bit is updated via
436436
* the page fault mechanism. Checking the dirty status of a pte becomes:
437437
*
438438
* PTE_DIRTY || (PTE_WRITE && !PTE_RDONLY)
@@ -598,7 +598,7 @@ static inline int pte_protnone(pte_t pte)
598598
/*
599599
* pte_present_invalid() tells us that the pte is invalid from HW
600600
* perspective but present from SW perspective, so the fields are to be
601-
* interpretted as per the HW layout. The second 2 checks are the unique
601+
* interpreted as per the HW layout. The second 2 checks are the unique
602602
* encoding that we use for PROT_NONE. It is insufficient to only use
603603
* the first check because we share the same encoding scheme with pmds
604604
* which support pmd_mkinvalid(), so can be present-invalid without

arch/arm64/include/asm/suspend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct cpu_suspend_ctx {
2323
* __cpu_suspend_enter()'s caller, and populated by __cpu_suspend_enter().
2424
* This data must survive until cpu_resume() is called.
2525
*
26-
* This struct desribes the size and the layout of the saved cpu state.
26+
* This struct describes the size and the layout of the saved cpu state.
2727
* The layout of the callee_saved_regs is defined by the implementation
2828
* of __cpu_suspend_enter(), and cpu_resume(). This struct must be passed
2929
* in by the caller as __cpu_suspend_enter()'s stack-frame is gone once it

arch/arm64/kernel/acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static int __init acpi_fadt_sanity_check(void)
133133

134134
/*
135135
* FADT is required on arm64; retrieve it to check its presence
136-
* and carry out revision and ACPI HW reduced compliancy tests
136+
* and carry out revision and ACPI HW reduced compliance tests
137137
*/
138138
status = acpi_get_table(ACPI_SIG_FADT, 0, &table);
139139
if (ACPI_FAILURE(status)) {

arch/arm64/kernel/cpufeature.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ static void __init sort_ftr_regs(void)
10021002

10031003
/*
10041004
* Initialise the CPU feature register from Boot CPU values.
1005-
* Also initiliases the strict_mask for the register.
1005+
* Also initialises the strict_mask for the register.
10061006
* Any bits that are not covered by an arm64_ftr_bits entry are considered
10071007
* RES0 for the system-wide value, and must strictly match.
10081008
*/

arch/arm64/kernel/ftrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec,
492492
return ret;
493493

494494
/*
495-
* When using mcount, callsites in modules may have been initalized to
495+
* When using mcount, callsites in modules may have been initialized to
496496
* call an arbitrary module PLT (which redirects to the _mcount stub)
497497
* rather than the ftrace PLT we'll use at runtime (which redirects to
498498
* the ftrace trampoline). We can ignore the old PLT when initializing

arch/arm64/kernel/machine_kexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void crash_post_resume(void)
251251
* marked as Reserved as memory was allocated via memblock_reserve().
252252
*
253253
* In hibernation, the pages which are Reserved and yet "nosave" are excluded
254-
* from the hibernation iamge. crash_is_nosave() does thich check for crash
254+
* from the hibernation image. crash_is_nosave() does thich check for crash
255255
* dump kernel and will reduce the total size of hibernation image.
256256
*/
257257

arch/arm64/kernel/probes/uprobes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
131131
struct uprobe_task *utask = current->utask;
132132

133133
/*
134-
* Task has received a fatal signal, so reset back to probbed
134+
* Task has received a fatal signal, so reset back to probed
135135
* address.
136136
*/
137137
instruction_pointer_set(regs, utask->vaddr);

0 commit comments

Comments
 (0)