Mark Rutland 9837559d8e atomics/treewide: Make unconditional inc/dec ops optional
Many of the inc/dec ops are mandatory, but for most architectures inc/dec are
simply trivial wrappers around their corresponding add/sub ops.

Let's make all the inc/dec ops optional, so that we can get rid of these
boilerplate wrappers.

The instrumented atomics are updated accordingly.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Palmer Dabbelt <palmer@sifive.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/lkml/20180621121321.4761-17-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-06-21 14:25:24 +02:00
..
2014-04-18 14:20:35 +02:00
2014-12-16 13:27:30 -06:00
2015-05-13 10:55:42 +02:00
2012-10-18 17:07:21 -05:00
2014-04-04 18:20:02 -05:00
2012-10-18 17:07:21 -05:00
2014-01-23 16:36:54 -08:00
2018-05-01 15:49:46 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2018-04-19 13:28:51 +02:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00
2017-04-24 20:28:29 -04:00
2012-10-18 17:07:21 -05:00
2012-10-18 17:07:21 -05:00