summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-02-01 18:14:57 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2018-02-01 22:23:11 +0100
commitcfe39442ab8ce9670b4ddd04291b8cddb9cb1129 (patch)
tree5c7cedd887df8bbad840dca689e894af19faedd4
parentxen: fix poll misannotation (diff)
downloadlinux-cfe39442ab8ce9670b4ddd04291b8cddb9cb1129.tar.xz
linux-cfe39442ab8ce9670b4ddd04291b8cddb9cb1129.zip
use linux/poll.h instead of asm/poll.h
The only place that has any business including asm/poll.h is linux/poll.h. Fortunately, asm/poll.h had only been included in 3 places beyond that one, and all of them are trivial to switch to using linux/poll.h. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/coda/psdev.c2
-rw-r--r--fs/debugfs/file.c2
-rw-r--r--fs/fcntl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index 49d3c6fda89a..80b9b84391a9 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -39,7 +39,7 @@
#include <linux/device.h>
#include <linux/pid_namespace.h>
#include <asm/io.h>
-#include <asm/poll.h>
+#include <linux/poll.h>
#include <linux/uaccess.h>
#include <linux/coda.h>
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index 6fdbf21be318..20bb73a931dd 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/atomic.h>
#include <linux/device.h>
-#include <asm/poll.h>
+#include <linux/poll.h>
#include "internal.h"
diff --git a/fs/fcntl.c b/fs/fcntl.c
index c7b9e0948107..ea3629c15c44 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -26,7 +26,7 @@
#include <linux/shmem_fs.h>
#include <linux/compat.h>
-#include <asm/poll.h>
+#include <linux/poll.h>
#include <asm/siginfo.h>
#include <linux/uaccess.h>