Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
87c1c093
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
87c1c093
编写于
7月 02, 2017
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cris: annotate ->poll() instances
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
01e5d556
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
11 deletion
+11
-11
arch/cris/arch-v10/drivers/gpio.c
arch/cris/arch-v10/drivers/gpio.c
+3
-3
arch/cris/arch-v10/drivers/sync_serial.c
arch/cris/arch-v10/drivers/sync_serial.c
+4
-4
arch/cris/arch-v32/drivers/sync_serial.c
arch/cris/arch-v32/drivers/sync_serial.c
+4
-4
未找到文件。
arch/cris/arch-v10/drivers/gpio.c
浏览文件 @
87c1c093
...
...
@@ -50,7 +50,7 @@ static ssize_t gpio_write(struct file *file, const char __user *buf,
size_t
count
,
loff_t
*
off
);
static
int
gpio_open
(
struct
inode
*
inode
,
struct
file
*
filp
);
static
int
gpio_release
(
struct
inode
*
inode
,
struct
file
*
filp
);
static
unsigned
in
t
gpio_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
);
static
__poll_
t
gpio_poll
(
struct
file
*
filp
,
struct
poll_table_struct
*
wait
);
/* private data per open() of this driver */
...
...
@@ -141,9 +141,9 @@ static unsigned long dir_g_shadow; /* 1=output */
#define USE_PORTS(priv) ((priv)->minor <= GPIO_MINOR_B)
static
unsigned
in
t
gpio_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
gpio_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
struct
gpio_private
*
priv
=
file
->
private_data
;
unsigned
long
data
;
unsigned
long
flags
;
...
...
arch/cris/arch-v10/drivers/sync_serial.c
浏览文件 @
87c1c093
...
...
@@ -157,7 +157,7 @@ static inline int sync_data_avail(struct sync_port *port);
static
int
sync_serial_open
(
struct
inode
*
inode
,
struct
file
*
file
);
static
int
sync_serial_release
(
struct
inode
*
inode
,
struct
file
*
file
);
static
unsigned
in
t
sync_serial_poll
(
struct
file
*
filp
,
poll_table
*
wait
);
static
__poll_
t
sync_serial_poll
(
struct
file
*
filp
,
poll_table
*
wait
);
static
long
sync_serial_ioctl
(
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
...
...
@@ -654,12 +654,12 @@ static int sync_serial_release(struct inode *inode, struct file *file)
static
unsigned
in
t
sync_serial_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
sync_serial_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
int
dev
=
MINOR
(
file_inode
(
file
)
->
i_rdev
);
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
struct
sync_port
*
port
;
DEBUGPOLL
(
static
unsigned
in
t
prev_mask
=
0
);
DEBUGPOLL
(
static
__poll_
t
prev_mask
=
0
);
port
=
&
ports
[
dev
];
poll_wait
(
file
,
&
port
->
out_wait_q
,
wait
);
...
...
arch/cris/arch-v32/drivers/sync_serial.c
浏览文件 @
87c1c093
...
...
@@ -178,7 +178,7 @@ static inline int sync_data_avail(struct sync_port *port);
static
int
sync_serial_open
(
struct
inode
*
,
struct
file
*
);
static
int
sync_serial_release
(
struct
inode
*
,
struct
file
*
);
static
unsigned
in
t
sync_serial_poll
(
struct
file
*
filp
,
poll_table
*
wait
);
static
__poll_
t
sync_serial_poll
(
struct
file
*
filp
,
poll_table
*
wait
);
static
long
sync_serial_ioctl
(
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
...
...
@@ -555,13 +555,13 @@ static int sync_serial_release(struct inode *inode, struct file *file)
return
0
;
}
static
unsigned
in
t
sync_serial_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
sync_serial_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
int
dev
=
iminor
(
file_inode
(
file
));
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
struct
sync_port
*
port
;
DEBUGPOLL
(
static
unsigned
in
t
prev_mask
;
static
__poll_
t
prev_mask
;
);
port
=
&
ports
[
dev
];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录