2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-16 21:29:17 -05:00
|
|
|
|
2011-07-26 16:09:06 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2012-12-19 23:39:48 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2014-04-23 16:12:30 +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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-23 16:12:30 +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
|
|
|
|
|
|
|
|
|
2014-04-23 16:12:30 +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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-23 16:12:30 +02:00
|
|
|
|
|
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-14 15:49:24 +08:00
|
|
|
|
2010-03-01 19:55:47 +01:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2010-03-01 19:55:47 +01:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
2011-09-01 11:32:03 +08:00
|
|
|
|
2009-06-12 21:10:05 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:04:02 -07:00
|
|
|
|