Skip to content

Commit ecaa054

Browse files
JuliaLawallvineetgarc
authored andcommitted
ARC: fix typos in comments
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Vineet Gupta <vgupta@kernel.org>
1 parent b1c6ecf commit ecaa054

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

arch/arc/kernel/disasm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ void __kprobes disasm_instr(unsigned long addr, struct disasm_state *state,
366366
case op_SP: /* LD_S|LDB_S b,[sp,u7], ST_S|STB_S b,[sp,u7] */
367367
/* note: we are ignoring possibility of:
368368
* ADD_S, SUB_S, PUSH_S, POP_S as these should not
369-
* cause unaliged exception anyway */
369+
* cause unaligned exception anyway */
370370
state->write = BITS(state->words[0], 6, 6);
371371
state->zz = BITS(state->words[0], 5, 5);
372372
if (state->zz)

arch/arc/kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
319319
regs->ret = (unsigned long)ksig->ka.sa.sa_handler;
320320

321321
/*
322-
* handler returns using sigreturn stub provided already by userpsace
322+
* handler returns using sigreturn stub provided already by userspace
323323
* If not, nuke the process right away
324324
*/
325325
if(!(ksig->ka.sa.sa_flags & SA_RESTORER))

arch/arc/kernel/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(smp_atomic_ops_lock);
3535

3636
struct plat_smp_ops __weak plat_smp_ops;
3737

38-
/* XXX: per cpu ? Only needed once in early seconday boot */
38+
/* XXX: per cpu ? Only needed once in early secondary boot */
3939
struct task_struct *secondary_idle_tsk;
4040

4141
/* Called from start_kernel */

arch/arc/kernel/unaligned.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs,
237237
if (state.fault)
238238
goto fault;
239239

240-
/* clear any remanants of delay slot */
240+
/* clear any remnants of delay slot */
241241
if (delay_mode(regs)) {
242242
regs->ret = regs->bta & ~1U;
243243
regs->status32 &= ~STATUS_DE_MASK;

arch/arc/mm/cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ static inline void __before_dc_op(const int op)
401401
{
402402
if (op == OP_FLUSH_N_INV) {
403403
/* Dcache provides 2 cmd: FLUSH or INV
404-
* INV inturn has sub-modes: DISCARD or FLUSH-BEFORE
404+
* INV in turn has sub-modes: DISCARD or FLUSH-BEFORE
405405
* flush-n-inv is achieved by INV cmd but with IM=1
406406
* So toggle INV sub-mode depending on op request and default
407407
*/

0 commit comments

Comments
 (0)