diff --git a/include/linux/eventfd.h b/include/linux/eventfd.h index 0d6ecc60b94d89acea9b6cd58c2ce3b165558599..b489fc6d0b6252f9e75134d8e7ecf5e529c623c5 100644 --- a/include/linux/eventfd.h +++ b/include/linux/eventfd.h @@ -19,7 +19,8 @@ int eventfd_signal(struct file *file, int n); #else /* CONFIG_EVENTFD */ #define eventfd_fget(fd) ERR_PTR(-ENOSYS) -#define eventfd_signal(f, n) 0 +static inline int eventfd_signal(struct file *file, int n) +{ return 0; } #endif /* CONFIG_EVENTFD */