[folded] spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3
has been removed from the -mm tree.  Its filename was
     spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3.patch

This patch was dropped because it was folded into spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3
From: David Kilroy <kilroyd@xxxxxxxxxxxxxx>

 * Correct bug in _spin_trylock_bh

Signed-off-by: David Kilroy <kilroyd@xxxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/spinlock_api_up.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/spinlock_api_up.h~spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3 include/linux/spinlock_api_up.h
--- a/include/linux/spinlock_api_up.h~spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3
+++ a/include/linux/spinlock_api_up.h
@@ -97,7 +97,7 @@ static inline int _write_trylock(rwlock_
 { __LOCK(lock); return 1; }
 
 static inline int _spin_trylock_bh(spinlock_t *lock)
-{ __LOCK(lock); return 1; }
+{ __LOCK_BH(lock); return 1; }
 
 static inline void _spin_unlock(spinlock_t *lock)
 { __UNLOCK(lock); }
_

Patches currently in -mm which might be from kilroyd@xxxxxxxxxxxxxx are

origin.patch
spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds.patch
spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux