diff options
| author | Mark Brown <broonie@kernel.org> | 2024-02-08 20:19:18 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-02-08 20:19:18 +0000 |
| commit | 0da9a7e5c86b003a9b446b30c90eaf96b2e442c2 (patch) | |
| tree | 635e28216dae3a2a91806df91c5a3962998aa891 /include/linux/syscalls.h | |
| parent | 0f0212558bc9e33fad4148d3f44745a367076b20 (diff) | |
| parent | 76b31eb4c2da3ddb3195cc14f6aad24908adf524 (diff) | |
spi: get rid of some legacy macros
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
This series finishes off the removal of some of the legacy names for
SPI controllers and devices.
Diffstat (limited to 'include/linux/syscalls.h')
| -rw-r--r-- | include/linux/syscalls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index cdba4d0c6d4a..77eb9b0e7685 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -128,6 +128,7 @@ struct mnt_id_req; #define __TYPE_IS_LL(t) (__TYPE_AS(t, 0LL) || __TYPE_AS(t, 0ULL)) #define __SC_LONG(t, a) __typeof(__builtin_choose_expr(__TYPE_IS_LL(t), 0LL, 0L)) a #define __SC_CAST(t, a) (__force t) a +#define __SC_TYPE(t, a) t #define __SC_ARGS(t, a) a #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long)) |
