mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
[ARM] 3766/1: Fix typo in ARM _raw_read_trylock
Patch from Catalin Marinas A comma was missing between tmp and tmp2. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
c336923b66
commit
e89bc81103
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ static inline void __raw_read_unlock(raw_rwlock_t *rw)
|
||||||
|
|
||||||
static inline int __raw_read_trylock(raw_rwlock_t *rw)
|
static inline int __raw_read_trylock(raw_rwlock_t *rw)
|
||||||
{
|
{
|
||||||
unsigned long tmp tmp2 = 1;
|
unsigned long tmp, tmp2 = 1;
|
||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"1: ldrex %0, [%2]\n"
|
"1: ldrex %0, [%2]\n"
|
||||||
|
|
Loading…
Reference in a new issue