提交 5fa63fcc 编写于 作者: A Al Viro 提交者: Linus Torvalds

Fix ppc64 mismerge

Fix a mismerge in commit 8b6f50ef:
"spufs: make signal-notification files readonly for NOSCHED contexts",
where structs got duplicated.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NJeremy Kerr <jk@ozlabs.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d7fff6f4
...@@ -941,13 +941,6 @@ static const struct file_operations spufs_signal1_nosched_fops = { ...@@ -941,13 +941,6 @@ static const struct file_operations spufs_signal1_nosched_fops = {
.mmap = spufs_signal1_mmap, .mmap = spufs_signal1_mmap,
}; };
static const struct file_operations spufs_signal1_nosched_fops = {
.open = spufs_signal1_open,
.release = spufs_signal1_release,
.write = spufs_signal1_write,
.mmap = spufs_signal1_mmap,
};
static int spufs_signal2_open(struct inode *inode, struct file *file) static int spufs_signal2_open(struct inode *inode, struct file *file)
{ {
struct spufs_inode_info *i = SPUFS_I(inode); struct spufs_inode_info *i = SPUFS_I(inode);
...@@ -1083,13 +1076,6 @@ static const struct file_operations spufs_signal2_nosched_fops = { ...@@ -1083,13 +1076,6 @@ static const struct file_operations spufs_signal2_nosched_fops = {
.mmap = spufs_signal2_mmap, .mmap = spufs_signal2_mmap,
}; };
static const struct file_operations spufs_signal2_nosched_fops = {
.open = spufs_signal2_open,
.release = spufs_signal2_release,
.write = spufs_signal2_write,
.mmap = spufs_signal2_mmap,
};
static void spufs_signal1_type_set(void *data, u64 val) static void spufs_signal1_type_set(void *data, u64 val)
{ {
struct spu_context *ctx = data; struct spu_context *ctx = data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册