Mark Rutland
67d1b0de25
locking/atomic: add arch_atomic_long*()
...
Now that all architectures provide arch_{atomic,atomic64}_*(), we can
build arch_atomic_long_*() atop these, which can be safely used in
noinstr code. The regular atomic_long_*() wrappers are built atop these,
as we do for {atomic,atomic64}_*() atop arch_{atomic,atomic64}_*().
We don't provide arch_* versions of the cond_read*() variants, as we
don't have arch_* versions of the underlying atomic/atomic64 functions
(nor the smp_cond_load*() helpers these are typically based on).
Note that the headers in this patch under include/linux/atomic/ are
generated by the scripts in scripts/atomic/.
Signed-off-by: Mark Rutland <mark.rutland@arm.com >
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org >
Link: https://lore.kernel.org/r/20210713105253.7615-5-mark.rutland@arm.com
2021-07-16 18:46:45 +02:00
..
2021-07-16 18:46:45 +02:00
2021-05-02 00:43:35 +09:00
2021-02-16 22:23:56 +09:00
2021-02-12 19:23:39 -06:00
2021-05-02 00:43:35 +09:00
2021-04-25 05:14:41 +09:00
2021-05-02 00:43:35 +09:00
2021-05-07 00:26:33 -07:00
2021-05-02 00:43:35 +09:00
2021-04-29 14:32:00 -07:00
2021-05-02 00:43:35 +09:00
2021-03-29 23:13:30 -07:00
2020-08-17 20:42:00 -04:00
2020-12-08 23:30:04 +09:00
2021-05-02 00:43:35 +09:00
2021-02-28 15:22:02 +09:00
2021-04-25 05:14:41 +09:00
2021-01-22 06:34:44 +09:00
2021-03-04 18:39:45 -08:00
2021-04-25 05:14:26 +09:00
2020-02-25 03:35:16 -07:00
2021-04-30 11:20:35 -07:00
2020-08-14 13:30:03 +09:00
2021-05-06 19:24:13 -07:00
2020-05-26 00:03:16 +09:00
2020-12-24 12:59:43 +01:00
2021-01-04 10:38:11 +09:00
2020-10-16 11:11:21 -07:00
2020-08-07 11:33:21 -07:00
2020-10-13 18:38:26 -07:00
2021-01-01 12:26:39 -08:00
2020-09-04 18:19:37 +02:00
2021-01-22 06:34:44 +09:00
2020-04-15 15:13:13 -06:00
2020-03-17 08:59:03 +09:00
2020-08-18 20:16:46 +09:00
2020-01-27 14:25:06 -07:00
2021-03-08 13:19:05 +01:00
2021-02-28 15:19:21 +09:00
2021-01-14 08:21:09 -08:00
2021-03-31 13:53:16 -06:00
2020-12-04 14:34:27 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 13:29:39 -07:00
2021-02-01 10:37:19 +09:00
2021-02-05 17:53:28 +09:00
2021-04-25 05:09:32 +09:00
2021-04-25 05:14:41 +09:00
2021-04-27 09:59:04 -06:00
2021-04-25 05:14:26 +09:00
2021-05-06 02:16:41 +09:00
2021-04-26 08:38:10 -07:00
2021-03-15 19:20:48 +09:00
2021-05-06 02:14:38 +09:00
2021-03-15 19:20:48 +09:00
2021-04-25 05:25:56 +09:00
2021-03-15 19:20:48 +09:00
2020-12-08 23:30:05 +09:00
2020-06-24 07:48:28 -07:00
2021-03-15 19:20:48 +09:00
2020-08-10 01:32:59 +09:00
2021-04-16 16:10:36 -07:00
2020-08-10 01:32:59 +09:00
2020-10-22 13:13:57 -07:00
2021-05-06 02:14:38 +09:00
2021-04-08 16:04:20 -07:00
2021-04-25 05:25:06 +09:00
2021-04-25 05:17:53 +09:00
2021-04-25 05:30:45 +09:00
2021-02-26 09:41:05 -08:00
2020-05-17 18:52:01 +09:00
2021-04-25 05:14:26 +09:00
2020-10-21 00:46:04 +09:00
2020-06-06 23:39:20 +09:00
2021-04-08 16:04:21 -07:00
2021-04-25 05:22:42 +09:00
2021-05-02 00:43:35 +09:00
2020-03-26 15:08:27 -07:00
2021-03-02 17:27:18 -05:00
2020-06-16 21:21:00 -04:00
2021-05-08 10:00:11 -07:00
2021-05-02 00:43:35 +09:00
2021-05-02 00:43:35 +09:00
2020-12-08 23:30:04 +09:00
2020-07-20 10:55:50 +02:00
2021-03-28 14:41:49 +02:00
2021-05-07 00:26:34 -07:00
2021-04-15 16:01:50 -06:00
2020-12-08 23:30:04 +09:00
2021-02-22 08:22:04 +09:00
2021-02-22 08:22:03 +09:00
2021-05-02 00:43:35 +09:00
2021-05-03 17:23:06 -06:00
2020-06-06 23:42:01 +09:00