mirror of https://gitee.com/openkylin/linux.git
fs/eventfd.c should #include <linux/syscalls.h>
Every file should include the headers containing the prototypes for its global functions (in this case sys_eventfd()). Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7ec37dfd4d
commit
7747cdb2f8
|
@ -15,6 +15,7 @@
|
|||
#include <linux/spinlock.h>
|
||||
#include <linux/anon_inodes.h>
|
||||
#include <linux/eventfd.h>
|
||||
#include <linux/syscalls.h>
|
||||
|
||||
struct eventfd_ctx {
|
||||
wait_queue_head_t wqh;
|
||||
|
|
Loading…
Reference in New Issue