Messages in this thread | | | Date | Fri, 9 Jun 2023 13:28:48 -0500 | Subject | Re: [PATCH v13 22/24] virt: gunyah: Add irqfd interface | From | Alex Elder <> |
| |
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
| |