Correct typos which were discovered with the "codespell" utility.

Signed-off-by: Thomas Huth <[email protected]>
---
 arm/cstart.S              | 2 +-
 arm/gic.c                 | 2 +-
 arm/micro-bench.c         | 2 +-
 lib/arm64/asm/assembler.h | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arm/cstart.S b/arm/cstart.S
index 2401d92..7036e67 100644
--- a/arm/cstart.S
+++ b/arm/cstart.S
@@ -44,7 +44,7 @@ start:
 
        /*
         * set stack, making room at top of stack for cpu0's
-        * exception stacks. Must start wtih stackptr, not
+        * exception stacks. Must start with stackptr, not
         * stacktop, so the thread size masking (shifts) work.
         */
        ldr     sp, =stackptr
diff --git a/arm/gic.c b/arm/gic.c
index 1e3ea80..60457e2 100644
--- a/arm/gic.c
+++ b/arm/gic.c
@@ -909,7 +909,7 @@ static void test_its_pending_migration(void)
        gicv3_lpi_rdist_disable(pe0);
        gicv3_lpi_rdist_disable(pe1);
 
-       /* lpis are interleaved inbetween the 2 PEs */
+       /* lpis are interleaved between the 2 PEs */
        for (i = 0; i < 256; i++) {
                struct its_collection *col = i % 2 ? collection[0] :
                                                     collection[1];
diff --git a/arm/micro-bench.c b/arm/micro-bench.c
index c731b1d..8436612 100644
--- a/arm/micro-bench.c
+++ b/arm/micro-bench.c
@@ -265,7 +265,7 @@ static void timer_post(uint64_t ntimes, uint64_t 
*total_ticks)
 {
        /*
         * We use a 10msec timer to test the latency of PPI,
-        * so we substract the ticks of 10msec to get the
+        * so we subtract the ticks of 10msec to get the
         * actual latency
         */
        *total_ticks -= ntimes * (cntfrq / 100);
diff --git a/lib/arm64/asm/assembler.h b/lib/arm64/asm/assembler.h
index a271e4c..aa8c65a 100644
--- a/lib/arm64/asm/assembler.h
+++ b/lib/arm64/asm/assembler.h
@@ -32,7 +32,7 @@
  * kvm-unit-tests has no concept of scheduling.
  *
  *     op:             operation passed to dc instruction
- *     domain:         domain used in dsb instruciton
+ *     domain:         domain used in dsb instruction
  *     addr:           starting virtual address of the region
  *     size:           size of the region
  *     Corrupts:       addr, size, tmp1, tmp2
-- 
2.27.0

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to