diff for duplicates of <1282195403.22370.296.camel@pasglop> diff --git a/a/1.txt b/N1/1.txt index 87db26b..678c7ea 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -95,7 +95,7 @@ index 24cd928..8447d89 100644 + long tmp; while ((tmp = sem->count) >= 0) { - if (tmp == cmpxchg(&sem->count, tmp, + if (tmp = cmpxchg(&sem->count, tmp, @@ -92,10 +101,10 @@ static inline int __down_read_trylock(struct rw_semaphore *sem) */ static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) @@ -128,7 +128,7 @@ index 24cd928..8447d89 100644 - tmp = atomic_dec_return((atomic_t *)(&sem->count)); + tmp = atomic_long_dec_return((atomic_long_t *)&sem->count); - if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) + if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0)) rwsem_wake(sem); } @@ -131,17 +140,17 @@ static inline void __up_read(struct rw_semaphore *sem) diff --git a/a/content_digest b/N1/content_digest index 2b8342a..58155c3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020100817.222818.193699062.davem@davemloft.net\0" "From\0Benjamin Herrenschmidt <benh@kernel.crashing.org>\0" "Subject\0Re: 64-bit ppc rwsem\0" - "Date\0Thu, 19 Aug 2010 15:23:23 +1000\0" + "Date\0Thu, 19 Aug 2010 05:23:23 +0000\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0torvalds@linux-foundation.org" paulus@au.ibm.com @@ -111,7 +111,7 @@ "+\tlong tmp;\n" " \n" " \twhile ((tmp = sem->count) >= 0) {\n" - " \t\tif (tmp == cmpxchg(&sem->count, tmp,\n" + " \t\tif (tmp = cmpxchg(&sem->count, tmp,\n" "@@ -92,10 +101,10 @@ static inline int __down_read_trylock(struct rw_semaphore *sem)\n" " */\n" " static inline void __down_write_nested(struct rw_semaphore *sem, int subclass)\n" @@ -144,7 +144,7 @@ " \n" "-\ttmp = atomic_dec_return((atomic_t *)(&sem->count));\n" "+\ttmp = atomic_long_dec_return((atomic_long_t *)&sem->count);\n" - " \tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0))\n" + " \tif (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) = 0))\n" " \t\trwsem_wake(sem);\n" " }\n" "@@ -131,17 +140,17 @@ static inline void __up_read(struct rw_semaphore *sem)\n" @@ -201,4 +201,4 @@ " \n" " #endif\t/* __KERNEL__ */" -d9722350a79ea6a5fd32934321f44759deacfa8719683b3aa9acfc51cac5d51b +bfa793346c66440aab3bc5b64ab20cfd4ab69f3d10e8a025c044c846a74e0454
diff --git a/a/content_digest b/N2/content_digest index 2b8342a..af2d0d0 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -7,10 +7,10 @@ "Date\0Thu, 19 Aug 2010 15:23:23 +1000\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0torvalds@linux-foundation.org" - paulus@au.ibm.com - linux-kernel@vger.kernel.org - sparclinux@vger.kernel.org akpm@linux-foundation.org + sparclinux@vger.kernel.org + linux-kernel@vger.kernel.org + paulus@au.ibm.com " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" @@ -201,4 +201,4 @@ " \n" " #endif\t/* __KERNEL__ */" -d9722350a79ea6a5fd32934321f44759deacfa8719683b3aa9acfc51cac5d51b +b05b44b0567464cf66bc4ebf9a29957068c65c5adcfedaa1418c01b7ba2310c7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.