use linux/poll.h instead of asm/poll.h

"Linux Kernel Mailing List" <[email protected]> Sun, 11 Feb 2018 23:11:10 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/cfe39442ab8ce9670b4ddd04291b8cddb9cb1129
Commit:     cfe39442ab8ce9670b4ddd04291b8cddb9cb1129
Parent:     0148a635ce40d65653bfda469fae8e4b8360baf3
Refname:    refs/heads/master
Author:     Al Viro <[email protected]>
AuthorDate: Thu Feb 1 12:14:57 2018 -0500
Committer:  Al Viro <[email protected]>
CommitDate: Thu Feb 1 16:23:11 2018 -0500

    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 <[email protected]>
---
 fs/coda/psdev.c   | 2 +-
 fs/debugfs/file.c | 2 +-
 fs/fcntl.c        | 2 +-
 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>
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html