2009-05-13 22:56:29 +00:00
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
2008-07-04 09:59:22 -07:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-08 01:00:29 -08:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
2015-09-18 13:22:52 +02:00
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2016-03-17 14:22:41 -07:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
2016-03-17 14:22:41 -07:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
locking/atomic: Implement atomic{,64,_long}_fetch_{add,sub,and,andnot,or,xor}{,_relaxed,_acquire,_release}()
Now that all the architectures have implemented support for these new
atomic primitives add on the generic infrastructure to expose and use
it.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-04-18 00:54:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-06-28 14:56:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-18 15:04:59 +02:00
|
|
|
|
2016-03-17 14:22:41 -07:00
|
|
|
|
2015-09-18 15:04:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
|
|
|
|
|
2015-09-18 15:04:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
locking/atomic: Implement atomic{,64,_long}_fetch_{add,sub,and,andnot,or,xor}{,_relaxed,_acquire,_release}()
Now that all the architectures have implemented support for these new
atomic primitives add on the generic infrastructure to expose and use
it.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-04-18 00:54:38 +02:00
|
|
|
|
2015-09-18 15:04:59 +02:00
|
|
|
|
|
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2015-09-18 15:04:59 +02:00
|
|
|
|
2006-01-06 00:11:20 -08:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
|
|
|
|
|
2015-09-30 13:03:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-09-30 13:03:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-09-30 13:03:11 -07:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2007-05-08 00:34:38 -07:00
|
|
|
|
|
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:38 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
2007-05-08 00:34:38 -07:00
|
|
|
|
2007-05-08 00:34:19 -07:00
|
|
|
|
2015-08-06 17:54:38 +01:00
|
|
|
|
|
|
|
|
|
2006-12-06 20:40:28 -08:00
|
|
|
|
2009-05-13 22:56:29 +00:00
|
|
|
|