Skip to content

Commit

Permalink
use linux/poll.h instead of asm/poll.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Al Viro committed Feb 1, 2018
1 parent 0148a63 commit cfe3944
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs/coda/psdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion fs/debugfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion fs/fcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit cfe3944

Please sign in to comment.