Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
8153a5ea
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
8153a5ea
编写于
7月 02, 2017
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ppc: annotate ->poll() instances
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
8b9aab09
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
16 addition
and
18 deletion
+16
-18
arch/powerpc/kernel/rtasd.c
arch/powerpc/kernel/rtasd.c
+1
-1
arch/powerpc/platforms/cell/spufs/backing_ops.c
arch/powerpc/platforms/cell/spufs/backing_ops.c
+3
-3
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/file.c
+8
-8
arch/powerpc/platforms/cell/spufs/hw_ops.c
arch/powerpc/platforms/cell/spufs/hw_ops.c
+2
-3
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/platforms/cell/spufs/spufs.h
+1
-2
arch/powerpc/platforms/powernv/opal-prd.c
arch/powerpc/platforms/powernv/opal-prd.c
+1
-1
未找到文件。
arch/powerpc/kernel/rtasd.c
浏览文件 @
8153a5ea
...
...
@@ -388,7 +388,7 @@ static ssize_t rtas_log_read(struct file * file, char __user * buf,
return
error
;
}
static
unsigned
in
t
rtas_log_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
rtas_log_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
poll_wait
(
file
,
&
rtas_log_wait
,
wait
);
if
(
rtas_log_size
)
...
...
arch/powerpc/platforms/cell/spufs/backing_ops.c
浏览文件 @
8153a5ea
...
...
@@ -86,10 +86,10 @@ static u32 spu_backing_mbox_stat_read(struct spu_context *ctx)
return
ctx
->
csa
.
prob
.
mb_stat_R
;
}
static
unsigned
in
t
spu_backing_mbox_stat_poll
(
struct
spu_context
*
ctx
,
unsigned
in
t
events
)
static
__poll_
t
spu_backing_mbox_stat_poll
(
struct
spu_context
*
ctx
,
__poll_
t
events
)
{
in
t
ret
;
__poll_
t
ret
;
u32
stat
;
ret
=
0
;
...
...
arch/powerpc/platforms/cell/spufs/file.c
浏览文件 @
8153a5ea
...
...
@@ -762,10 +762,10 @@ static ssize_t spufs_ibox_read(struct file *file, char __user *buf,
return
count
;
}
static
unsigned
in
t
spufs_ibox_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
spufs_ibox_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
spu_context
*
ctx
=
file
->
private_data
;
unsigned
in
t
mask
;
__poll_
t
mask
;
poll_wait
(
file
,
&
ctx
->
ibox_wq
,
wait
);
...
...
@@ -898,10 +898,10 @@ static ssize_t spufs_wbox_write(struct file *file, const char __user *buf,
return
count
;
}
static
unsigned
in
t
spufs_wbox_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
spufs_wbox_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
spu_context
*
ctx
=
file
->
private_data
;
unsigned
in
t
mask
;
__poll_
t
mask
;
poll_wait
(
file
,
&
ctx
->
wbox_wq
,
wait
);
...
...
@@ -1690,11 +1690,11 @@ static ssize_t spufs_mfc_write(struct file *file, const char __user *buffer,
return
ret
;
}
static
unsigned
in
t
spufs_mfc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
spufs_mfc_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
spu_context
*
ctx
=
file
->
private_data
;
u32
free_elements
,
tagstatus
;
unsigned
in
t
mask
;
__poll_
t
mask
;
poll_wait
(
file
,
&
ctx
->
mfc_wq
,
wait
);
...
...
@@ -2455,11 +2455,11 @@ static ssize_t spufs_switch_log_read(struct file *file, char __user *buf,
return
cnt
==
0
?
error
:
cnt
;
}
static
unsigned
in
t
spufs_switch_log_poll
(
struct
file
*
file
,
poll_table
*
wait
)
static
__poll_
t
spufs_switch_log_poll
(
struct
file
*
file
,
poll_table
*
wait
)
{
struct
inode
*
inode
=
file_inode
(
file
);
struct
spu_context
*
ctx
=
SPUFS_I
(
inode
)
->
i_ctx
;
unsigned
in
t
mask
=
0
;
__poll_
t
mask
=
0
;
int
rc
;
poll_wait
(
file
,
&
ctx
->
switch_log
->
wait
,
wait
);
...
...
arch/powerpc/platforms/cell/spufs/hw_ops.c
浏览文件 @
8153a5ea
...
...
@@ -56,11 +56,10 @@ static u32 spu_hw_mbox_stat_read(struct spu_context *ctx)
return
in_be32
(
&
ctx
->
spu
->
problem
->
mb_stat_R
);
}
static
unsigned
int
spu_hw_mbox_stat_poll
(
struct
spu_context
*
ctx
,
unsigned
int
events
)
static
__poll_t
spu_hw_mbox_stat_poll
(
struct
spu_context
*
ctx
,
__poll_t
events
)
{
struct
spu
*
spu
=
ctx
->
spu
;
in
t
ret
=
0
;
__poll_
t
ret
=
0
;
u32
stat
;
spin_lock_irq
(
&
spu
->
register_lock
);
...
...
arch/powerpc/platforms/cell/spufs/spufs.h
浏览文件 @
8153a5ea
...
...
@@ -185,8 +185,7 @@ struct mfc_dma_command {
struct
spu_context_ops
{
int
(
*
mbox_read
)
(
struct
spu_context
*
ctx
,
u32
*
data
);
u32
(
*
mbox_stat_read
)
(
struct
spu_context
*
ctx
);
unsigned
int
(
*
mbox_stat_poll
)(
struct
spu_context
*
ctx
,
unsigned
int
events
);
__poll_t
(
*
mbox_stat_poll
)(
struct
spu_context
*
ctx
,
__poll_t
events
);
int
(
*
ibox_read
)
(
struct
spu_context
*
ctx
,
u32
*
data
);
int
(
*
wbox_write
)
(
struct
spu_context
*
ctx
,
u32
data
);
u32
(
*
signal1_read
)
(
struct
spu_context
*
ctx
);
...
...
arch/powerpc/platforms/powernv/opal-prd.c
浏览文件 @
8153a5ea
...
...
@@ -147,7 +147,7 @@ static bool opal_msg_queue_empty(void)
return
ret
;
}
static
unsigned
in
t
opal_prd_poll
(
struct
file
*
file
,
static
__poll_
t
opal_prd_poll
(
struct
file
*
file
,
struct
poll_table_struct
*
wait
)
{
poll_wait
(
file
,
&
opal_prd_msg_wait
,
wait
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录