Skip to content

Commit ebfc2fd

Browse files
bjorn-helgaasvineetgarc
authored andcommitted
ARC: Fix typos
Fix typos, most reported by "codespell arch/arc". Only touches comments, no code changes. Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent d5272aa commit ebfc2fd

25 files changed

+45
-44
lines changed

arch/arc/boot/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
# uImage build relies on mkimage being availble on your host for ARC target
3+
# uImage build relies on mkimage being available on your host for ARC target
44
# You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
5-
# and make sure it's reacable from your PATH
5+
# and make sure it's reachable from your PATH
66

77
OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
88

arch/arc/boot/dts/axc003.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
/*
120120
* The DW APB ICTL intc on MB is connected to CPU intc via a
121121
* DT "invisible" DW APB GPIO block, configured to simply pass thru
122-
* interrupts - setup accordinly in platform init (plat-axs10x/ax10x.c)
122+
* interrupts - setup accordingly in platform init (plat-axs10x/ax10x.c)
123123
*
124-
* So here we mimic a direct connection betwen them, ignoring the
124+
* So here we mimic a direct connection between them, ignoring the
125125
* ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
126126
* instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
127127
*

arch/arc/boot/dts/vdk_axs10x_mb.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
/*
114114
* Embedded Vision subsystem UIO mappings; only relevant for EV VDK
115115
*
116-
* This node is intentionally put outside of MB above becase
116+
* This node is intentionally put outside of MB above because
117117
* it maps areas outside of MB's 0xez-0xfz.
118118
*/
119119
uio_ev: uio@d0000000 {

arch/arc/include/asm/dsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/*
1313
* DSP-related saved registers - need to be saved only when you are
1414
* scheduled out.
15-
* structure fields name must correspond to aux register defenitions for
15+
* structure fields name must correspond to aux register definitions for
1616
* automatic offset calculation in DSP_AUX_SAVE_RESTORE macros
1717
*/
1818
struct dsp_callee_regs {

arch/arc/include/asm/entry-compact.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Stack switching code can no longer reliably rely on the fact that
88
* if we are NOT in user mode, stack is switched to kernel mode.
99
* e.g. L2 IRQ interrupted a L1 ISR which had not yet completed
10-
* it's prologue including stack switching from user mode
10+
* its prologue including stack switching from user mode
1111
*
1212
* Vineetg: Aug 28th 2008: Bug #94984
1313
* -Zero Overhead Loop Context shd be cleared when entering IRQ/EXcp/Trap
@@ -143,7 +143,7 @@
143143
* 2. L1 IRQ taken, ISR starts (CPU auto-switched to KERNEL mode)
144144
* 3. But before it could switch SP from USER to KERNEL stack
145145
* a L2 IRQ "Interrupts" L1
146-
* Thay way although L2 IRQ happened in Kernel mode, stack is still
146+
* That way although L2 IRQ happened in Kernel mode, stack is still
147147
* not switched.
148148
* To handle this, we may need to switch stack even if in kernel mode
149149
* provided SP has values in range of USER mode stack ( < 0x7000_0000 )
@@ -173,7 +173,7 @@
173173

174174
GET_CURR_TASK_ON_CPU r9
175175

176-
/* With current tsk in r9, get it's kernel mode stack base */
176+
/* With current tsk in r9, get its kernel mode stack base */
177177
GET_TSK_STACK_BASE r9, r9
178178

179179
/* save U mode SP @ pt_regs->sp */
@@ -282,7 +282,7 @@
282282
* NOTE:
283283
*
284284
* It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
285-
* for memory load operations. If used in that way interrupts are deffered
285+
* for memory load operations. If used in that way interrupts are deferred
286286
* by hardware and that is not good.
287287
*-------------------------------------------------------------*/
288288
.macro EXCEPTION_EPILOGUE
@@ -350,7 +350,7 @@
350350
* NOTE:
351351
*
352352
* It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
353-
* for memory load operations. If used in that way interrupts are deffered
353+
* for memory load operations. If used in that way interrupts are deferred
354354
* by hardware and that is not good.
355355
*-------------------------------------------------------------*/
356356
.macro INTERRUPT_EPILOGUE LVL

arch/arc/include/asm/entry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef __ASM_ARC_ENTRY_H
88
#define __ASM_ARC_ENTRY_H
99

10-
#include <asm/unistd.h> /* For NR_syscalls defination */
10+
#include <asm/unistd.h> /* For NR_syscalls definition */
1111
#include <asm/arcregs.h>
1212
#include <asm/ptrace.h>
1313
#include <asm/processor.h> /* For VMALLOC_START */
@@ -56,7 +56,7 @@
5656
.endm
5757

5858
/*-------------------------------------------------------------
59-
* given a tsk struct, get to the base of it's kernel mode stack
59+
* given a tsk struct, get to the base of its kernel mode stack
6060
* tsk->thread_info is really a PAGE, whose bottom hoists stack
6161
* which grows upwards towards thread_info
6262
*------------------------------------------------------------*/

arch/arc/include/asm/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ARCv2 can support 240 interrupts in the core interrupts controllers and
1111
* 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
1212
* configurations of boards.
13-
* This doesnt affect ARCompact, but we change it to same value
13+
* This doesn't affect ARCompact, but we change it to same value
1414
*/
1515
#define NR_IRQS 512
1616

arch/arc/include/asm/irqflags-compact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* IRQ Control Macros
4747
*
4848
* All of them have "memory" clobber (compiler barrier) which is needed to
49-
* ensure that LD/ST requiring irq safetly (R-M-W when LLSC is not available)
49+
* ensure that LD/ST requiring irq safety (R-M-W when LLSC is not available)
5050
* are redone after IRQs are re-enabled (and gcc doesn't reuse stale register)
5151
*
5252
* Noted at the time of Abilis Timer List corruption

arch/arc/include/asm/mmu_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
165165
* for retiring-mm. However destroy_context( ) still needs to do that because
166166
* between mm_release( ) = >deactive_mm( ) and
167167
* mmput => .. => __mmdrop( ) => destroy_context( )
168-
* there is a good chance that task gets sched-out/in, making it's ASID valid
168+
* there is a good chance that task gets sched-out/in, making its ASID valid
169169
* again (this teased me for a whole day).
170170
*/
171171

arch/arc/include/asm/pgtable-bits-arcv2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Other rules which cause the divergence from 1:1 mapping
6767
*
6868
* 1. Although ARC700 can do exclusive execute/write protection (meaning R
69-
* can be tracked independet of X/W unlike some other CPUs), still to
69+
* can be tracked independently of X/W unlike some other CPUs), still to
7070
* keep things consistent with other archs:
7171
* -Write implies Read: W => R
7272
* -Execute implies Read: X => R

0 commit comments

Comments
 (0)