Re: [PATCH v13 22/24] virt: gunyah: Add irqfd interface
From: Alex Elder
Date: Fri Jun 09 2023 - 14:29:00 EST
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