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-05 12:39:29 -07:00
2020-12-15 16:18:23 -08:00
2021-04-26 18:16:56 +02:00
2021-05-03 23:04:01 +02:00
2021-05-07 14:49:18 -07:00
2021-01-05 22:22:07 -06:00
2021-05-05 11:27:26 -07:00
2021-05-07 11:23:41 -07:00
2021-05-06 19:24:11 -07:00
2019-05-24 17:27:11 +02:00
2021-05-07 00:26:33 -07:00
2021-07-16 18:46:45 +02:00
2020-01-15 22:55:36 -05:00
2017-11-07 10:32:44 +01:00
2020-09-24 13:43:39 -06:00
2021-05-08 21:49:48 -06:00
2021-05-07 00:34:51 -07:00
2021-05-06 19:24:12 -07:00
2021-05-09 13:25:14 -07:00
2021-05-03 11:56:23 +02:00
2021-05-05 11:27:24 -07:00
2020-10-25 14:51:49 -07:00
2017-11-02 11:10:55 +01:00
2021-05-05 11:27:24 -07:00
2017-11-02 11:10:55 +01:00
2021-05-05 11:27:24 -07:00
2021-05-07 00:34:51 -07:00
2021-05-07 00:26:34 -07:00
2020-06-24 17:08:33 +02:00
2021-05-05 22:54:12 +02:00
2021-05-04 11:24:46 -07:00
2021-05-06 19:24:12 -07:00
2021-05-06 19:24:11 -07:00
2021-04-16 17:06:34 +02:00
2020-09-24 21:56:24 +02:00
2021-05-07 00:26:32 -07:00
2021-03-09 15:40:16 +09:00
2018-03-16 19:58:27 +01:00
2020-08-06 16:13:13 +02:00
2017-11-02 11:10:55 +01:00
2018-01-01 12:40:27 -07:00
2021-03-14 14:48:02 -07:00
2017-11-02 11:10:55 +01:00
2021-05-07 00:26:34 -07:00
2020-04-18 15:44:54 -05:00
2021-05-07 00:26:34 -07:00
2021-05-07 00:26:34 -07:00
2021-05-07 00:26:33 -07:00
2021-05-05 11:27:27 -07:00
2020-11-16 15:20:01 +01:00
2021-05-05 11:27:21 -07:00
2021-05-05 11:27:22 -07:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:33 -07:00
2021-05-04 08:54:29 -07:00
2021-05-05 12:39:29 -07:00
2021-05-09 00:29:45 +09:00
2017-11-02 11:10:55 +01:00
2021-05-08 10:00:11 -07:00
2019-12-11 09:12:38 +01:00
2021-05-05 22:54:12 +02:00
2020-05-08 18:18:11 +01:00
2020-05-08 00:12:42 +02:00
2021-05-12 20:11:17 +02:00
2021-05-01 18:50:44 -07:00
2021-05-01 18:50:44 -07:00
2017-11-02 11:10:55 +01:00
2021-04-12 10:36:00 -06:00
2021-05-05 11:27:23 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-07 00:26:35 -07:00
2021-05-07 00:26:33 -07:00
2021-04-08 16:04:20 -07:00
2020-12-22 12:55:08 -08:00
2020-11-25 15:45:11 +01:00
2021-02-11 13:24:44 -08:00
2021-05-07 11:23:41 -07:00
2020-10-16 11:11:18 -07:00
2021-01-26 11:12:00 -06:00
2019-06-05 17:30:29 +02:00
2021-05-05 11:27:19 -07:00
2021-02-03 19:05:50 +01:00
2017-11-02 11:10:55 +01:00
2021-05-05 13:24:11 -07:00
2021-05-07 00:26:34 -07:00
2019-05-24 17:36:45 +02:00
2021-05-06 19:24:11 -07:00
2019-06-15 12:25:49 +02:00
2021-05-06 19:24:11 -07:00
2020-11-18 10:51:17 -08:00
2021-04-08 14:05:19 +02:00
2019-12-05 11:43:31 -08:00
2021-05-05 13:24:11 -07:00
2019-09-16 11:43:38 -05:00
2021-05-05 11:27:26 -07:00
2021-05-01 18:50:44 -07:00
2021-06-08 20:04:10 +02:00
2019-06-05 17:36:37 +02:00
2021-05-05 11:27:23 -07:00
2019-05-30 11:26:32 -07:00
2021-05-09 13:07:03 -07:00
2021-04-26 13:04:19 -07:00
2020-03-18 09:50:20 +00:00
2021-03-10 15:52:31 +01:00
2018-10-09 11:20:55 +02:00
2021-02-26 09:41:04 -08:00
2018-04-28 15:01:14 -07:00
2021-05-06 19:24:11 -07:00
2020-12-02 15:07:56 +01:00
2021-05-01 18:50:44 -07:00
2021-03-25 17:39:33 -07:00
2021-04-11 19:30:25 -06:00
2021-01-06 16:24:59 -08:00
2019-08-28 11:50:43 +02:00
2020-11-10 20:39:40 -05:00
2021-05-05 11:27:22 -07:00
2021-05-03 04:55:53 -04:00
2021-05-04 04:19:59 -04:00
2021-05-05 11:27:25 -07:00
2021-05-07 00:26:35 -07:00
2021-05-03 04:55:53 -04:00
2021-05-05 22:54:11 +02:00
2021-01-19 10:20:07 -05:00
2020-06-05 16:19:28 -07:00
2021-03-30 13:42:33 -04:00