nixos-config/machines/odin/0001-fix-gasket.patch

13 lines
497 B
Diff

diff --git a/gasket_interrupt.c b/gasket_interrupt.c
index 531d94e..8dba182 100644
--- a/gasket_interrupt.c
+++ b/gasket_interrupt.c
@@ -158,7 +158,7 @@ gasket_handle_interrupt(struct gasket_interrupt_data *interrupt_data,
read_lock(&interrupt_data->eventfd_ctx_lock);
ctx = interrupt_data->eventfd_ctxs[interrupt_index];
if (ctx)
- eventfd_signal(ctx, 1);
+ eventfd_signal(ctx);
read_unlock(&interrupt_data->eventfd_ctx_lock);
++(interrupt_data->interrupt_counts[interrupt_index]);