mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
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>
This commit is contained in:
parent
0148a635ce
commit
cfe39442ab
@ -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>
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user