Commit ecaa054f authored by Julia Lawall's avatar Julia Lawall Committed by Vineet Gupta

ARC: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: default avatarVineet Gupta <vgupta@kernel.org>
parent b1c6ecfd
...@@ -366,7 +366,7 @@ void __kprobes disasm_instr(unsigned long addr, struct disasm_state *state, ...@@ -366,7 +366,7 @@ void __kprobes disasm_instr(unsigned long addr, struct disasm_state *state,
case op_SP: /* LD_S|LDB_S b,[sp,u7], ST_S|STB_S b,[sp,u7] */ case op_SP: /* LD_S|LDB_S b,[sp,u7], ST_S|STB_S b,[sp,u7] */
/* note: we are ignoring possibility of: /* note: we are ignoring possibility of:
* ADD_S, SUB_S, PUSH_S, POP_S as these should not * ADD_S, SUB_S, PUSH_S, POP_S as these should not
* cause unaliged exception anyway */ * cause unaligned exception anyway */
state->write = BITS(state->words[0], 6, 6); state->write = BITS(state->words[0], 6, 6);
state->zz = BITS(state->words[0], 5, 5); state->zz = BITS(state->words[0], 5, 5);
if (state->zz) if (state->zz)
......
...@@ -319,7 +319,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) ...@@ -319,7 +319,7 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs->ret = (unsigned long)ksig->ka.sa.sa_handler; regs->ret = (unsigned long)ksig->ka.sa.sa_handler;
/* /*
* handler returns using sigreturn stub provided already by userpsace * handler returns using sigreturn stub provided already by userspace
* If not, nuke the process right away * If not, nuke the process right away
*/ */
if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) if(!(ksig->ka.sa.sa_flags & SA_RESTORER))
......
...@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(smp_atomic_ops_lock); ...@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(smp_atomic_ops_lock);
struct plat_smp_ops __weak plat_smp_ops; struct plat_smp_ops __weak plat_smp_ops;
/* XXX: per cpu ? Only needed once in early seconday boot */ /* XXX: per cpu ? Only needed once in early secondary boot */
struct task_struct *secondary_idle_tsk; struct task_struct *secondary_idle_tsk;
/* Called from start_kernel */ /* Called from start_kernel */
......
...@@ -237,7 +237,7 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs, ...@@ -237,7 +237,7 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs,
if (state.fault) if (state.fault)
goto fault; goto fault;
/* clear any remanants of delay slot */ /* clear any remnants of delay slot */
if (delay_mode(regs)) { if (delay_mode(regs)) {
regs->ret = regs->bta & ~1U; regs->ret = regs->bta & ~1U;
regs->status32 &= ~STATUS_DE_MASK; regs->status32 &= ~STATUS_DE_MASK;
......
...@@ -401,7 +401,7 @@ static inline void __before_dc_op(const int op) ...@@ -401,7 +401,7 @@ static inline void __before_dc_op(const int op)
{ {
if (op == OP_FLUSH_N_INV) { if (op == OP_FLUSH_N_INV) {
/* Dcache provides 2 cmd: FLUSH or INV /* Dcache provides 2 cmd: FLUSH or INV
* INV inturn has sub-modes: DISCARD or FLUSH-BEFORE * INV in turn has sub-modes: DISCARD or FLUSH-BEFORE
* flush-n-inv is achieved by INV cmd but with IM=1 * flush-n-inv is achieved by INV cmd but with IM=1
* So toggle INV sub-mode depending on op request and default * So toggle INV sub-mode depending on op request and default
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment