cris: kill sys_pipe implementation
[linux-2.6/zen-sources.git] / include / linux / eventfd.h
bloba701399b7fed915e8cbd057be25a57d32bb2de10
1 /*
2 * include/linux/eventfd.h
4 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
6 */
8 #ifndef _LINUX_EVENTFD_H
9 #define _LINUX_EVENTFD_H
11 #ifdef CONFIG_EVENTFD
13 struct file *eventfd_fget(int fd);
14 int eventfd_signal(struct file *file, int n);
16 #else /* CONFIG_EVENTFD */
18 #define eventfd_fget(fd) ERR_PTR(-ENOSYS)
19 static inline int eventfd_signal(struct file *file, int n)
20 { return 0; }
22 #endif /* CONFIG_EVENTFD */
24 #endif /* _LINUX_EVENTFD_H */