diff options
author | 2023-12-12 11:15:28 -0500 | |
---|---|---|
committer | 2024-02-08 08:41:03 -0500 | |
commit | 3c7a8e190bc580813ddd9259f62971c8d2a6b5ad (patch) | |
tree | 09e2ec9478f5d3fec2fb4af45c1df92f457a72d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'v6.8-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff) | |
download | linux-rng-3c7a8e190bc580813ddd9259f62971c8d2a6b5ad.tar.xz linux-rng-3c7a8e190bc580813ddd9259f62971c8d2a6b5ad.zip |
uapi: introduce uapi-friendly macros for GENMASK
Move __GENMASK and __GENMASK_ULL from include/ to include/uapi/ so that they can
be used to define masks in userspace API headers. Compared to what is already
in include/linux/bits.h, the definitions need to use the uglified versions of
UL(), ULL(), BITS_PER_LONG and BITS_PER_LONG_LONG (which did not even exist),
but otherwise expand to the same content.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions