lkml.org 
[lkml]   [2023]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v13 22/24] virt: gunyah: Add irqfd interface
From
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

\
 
 \ /
  Last update: 2023-06-09 20:29    [W:0.178 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site