[PATCH v13 22/24] virt: gunyah: Add irqfd interface
Alex Elder
elder at linaro.org
Fri Jun 9 11:28:48 PDT 2023
On 6/9/23 1:22 PM, Elliot Berman wrote:
>>>
>>> +enum gh_irqfd_flags {
>>> + GH_IRQFD_FLAGS_LEVEL = 1UL << 0,
>>
>> BIT(0), /* ? */
>>
>
> The BIT macro isn't a standard C macro and isn't defined by Linux, so it
> causes compile errors at least for me when I use it in userspace.
OK that makes sense. I hadn't thought about this
being a user space header when I made the comment.
-Alex
More information about the linux-arm-kernel
mailing list