aboutsummaryrefslogtreecommitdiff
path: root/include/linux/rtsx_usb.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-12-12 11:15:28 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2024-02-08 08:41:03 -0500
commit3c7a8e190bc580813ddd9259f62971c8d2a6b5ad (patch)
tree09e2ec9478f5d3fec2fb4af45c1df92f457a72d8 /include/linux/rtsx_usb.h
parent047371968ffc470769f541d6933e262dc7085456 (diff)
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 'include/linux/rtsx_usb.h')
0 files changed, 0 insertions, 0 deletions