From: Randy Dunlap <rdunlap@infradead.org>
To: Bhaskar Chowdhury <unixbhaskar@gmail.com>,
vgupta@synopsys.com, linux-snps-arc@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arc: include/asm: Couple of spelling fixes
Date: Mon, 22 Mar 2021 11:43:10 -0700 [thread overview]
Message-ID: <c2e269cc-779a-0213-982b-84278efac595@infradead.org> (raw)
In-Reply-To: <20210322123259.2894194-1-unixbhaskar@gmail.com>
On 3/22/21 5:32 AM, Bhaskar Chowdhury wrote:
>
> s/interrpted/interrupted/
> s/defintion/definition/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> arch/arc/include/asm/cmpxchg.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arc/include/asm/cmpxchg.h b/arch/arc/include/asm/cmpxchg.h
> index 9b87e162e539..dfeffa25499b 100644
> --- a/arch/arc/include/asm/cmpxchg.h
> +++ b/arch/arc/include/asm/cmpxchg.h
> @@ -116,7 +116,7 @@ static inline unsigned long __xchg(unsigned long val, volatile void *ptr,
> *
> * Technically the lock is also needed for UP (boils down to irq save/restore)
> * but we can cheat a bit since cmpxchg() atomic_ops_lock() would cause irqs to
> - * be disabled thus can't possibly be interrpted/preempted/clobbered by xchg()
> + * be disabled thus can't possibly be interrupted/preempted/clobbered by xchg()
> * Other way around, xchg is one instruction anyways, so can't be interrupted
> * as such
> */
> @@ -143,7 +143,7 @@ static inline unsigned long __xchg(unsigned long val, volatile void *ptr,
> /*
> * "atomic" variant of xchg()
> * REQ: It needs to follow the same serialization rules as other atomic_xxx()
> - * Since xchg() doesn't always do that, it would seem that following defintion
> + * Since xchg() doesn't always do that, it would seem that following definition
> * is incorrect. But here's the rationale:
> * SMP : Even xchg() takes the atomic_ops_lock, so OK.
> * LLSC: atomic_ops_lock are not relevant at all (even if SMP, since LLSC
> --
--
~Randy
prev parent reply other threads:[~2021-03-22 18:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 12:32 Bhaskar Chowdhury
2021-03-22 18:43 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c2e269cc-779a-0213-982b-84278efac595@infradead.org \
--to=rdunlap@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=unixbhaskar@gmail.com \
--cc=vgupta@synopsys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®