aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/eventfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/eventfd.h')
-rw-r--r--include/linux/eventfd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/eventfd.h b/include/linux/eventfd.h
index a6c0eaedb1b0..a667637b54e3 100644
--- a/include/linux/eventfd.h
+++ b/include/linux/eventfd.h
@@ -10,11 +10,12 @@
10 10
11#ifdef CONFIG_EVENTFD 11#ifdef CONFIG_EVENTFD
12 12
13/* For O_CLOEXEC */ 13/* For O_CLOEXEC and O_NONBLOCK */
14#include <linux/fcntl.h> 14#include <linux/fcntl.h>
15 15
16/* Flags for eventfd2. */ 16/* Flags for eventfd2. */
17#define EFD_CLOEXEC O_CLOEXEC 17#define EFD_CLOEXEC O_CLOEXEC
18#define EFD_NONBLOCK O_NONBLOCK
18 19
19struct file *eventfd_fget(int fd); 20struct file *eventfd_fget(int fd);
20int eventfd_signal(struct file *file, int n); 21int eventfd_signal(struct file *file, int n);