diff options
| author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-22 03:10:35 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 13:41:27 -0400 |
| commit | 5fa63fccc579ac609fc7f86d29ccb3a2edf910d7 (patch) | |
| tree | 6e61d976d857186b88679c295b01b2d3d2cdd13d | |
| parent | d7fff6f4d1ed1bc31577df887fefcb1541923367 (diff) | |
Fix ppc64 mismerge
Fix a mismerge in commit 8b6f50ef1d5cc86b278eb42bc91630fad455fb10:
"spufs: make signal-notification files readonly for NOSCHED contexts",
where structs got duplicated.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index c2aaec5289dc..4100ddc52f02 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
| @@ -941,13 +941,6 @@ static const struct file_operations spufs_signal1_nosched_fops = { | |||
| 941 | .mmap = spufs_signal1_mmap, | 941 | .mmap = spufs_signal1_mmap, |
| 942 | }; | 942 | }; |
| 943 | 943 | ||
| 944 | static const struct file_operations spufs_signal1_nosched_fops = { | ||
| 945 | .open = spufs_signal1_open, | ||
| 946 | .release = spufs_signal1_release, | ||
| 947 | .write = spufs_signal1_write, | ||
| 948 | .mmap = spufs_signal1_mmap, | ||
| 949 | }; | ||
| 950 | |||
| 951 | static int spufs_signal2_open(struct inode *inode, struct file *file) | 944 | static int spufs_signal2_open(struct inode *inode, struct file *file) |
| 952 | { | 945 | { |
| 953 | struct spufs_inode_info *i = SPUFS_I(inode); | 946 | struct spufs_inode_info *i = SPUFS_I(inode); |
| @@ -1083,13 +1076,6 @@ static const struct file_operations spufs_signal2_nosched_fops = { | |||
| 1083 | .mmap = spufs_signal2_mmap, | 1076 | .mmap = spufs_signal2_mmap, |
| 1084 | }; | 1077 | }; |
| 1085 | 1078 | ||
| 1086 | static const struct file_operations spufs_signal2_nosched_fops = { | ||
| 1087 | .open = spufs_signal2_open, | ||
| 1088 | .release = spufs_signal2_release, | ||
| 1089 | .write = spufs_signal2_write, | ||
| 1090 | .mmap = spufs_signal2_mmap, | ||
| 1091 | }; | ||
| 1092 | |||
| 1093 | static void spufs_signal1_type_set(void *data, u64 val) | 1079 | static void spufs_signal1_type_set(void *data, u64 val) |
| 1094 | { | 1080 | { |
| 1095 | struct spu_context *ctx = data; | 1081 | struct spu_context *ctx = data; |
