arc: include/asm: Couple of spelling fixes
PATCH 1/1 arc: include/asm: Couple of spelling fixes
s/interrpted/interrupted/
s/defintion/definition/
Signed-off-by Bhaskar Chowdhury <[email protected]>
--- arch/arc/include/asm/cmpxchg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/include/asm/cmpxchg.h +2 -2
@@ -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
--
2.31.0
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Quoted 5 lines · Bhaskar Chowdhury
s/interrpted/interrupted/
s/defintion/definition/Signed-off-by Bhaskar Chowdhury <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Quoted 27 lines
--- arch/arc/include/asm/cmpxchg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arc/include/asm/cmpxchg.h +2
-3@@ -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 --
Signature · 7 lines
~Randy _______________________________________________ linux-snps-arc mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-snps-arc