]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix ppc64 mismerge
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 22 Jul 2007 07:10:35 +0000 (08:10 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 17:41:27 +0000 (10:41 -0700)
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>
arch/powerpc/platforms/cell/spufs/file.c

index c2aaec5289dc2ce042333260bd81ff2974d7d75a..4100ddc52f0227fb0fcb300fb50da78bffa9b9d3 100644 (file)
@@ -941,13 +941,6 @@ static const struct file_operations spufs_signal1_nosched_fops = {
        .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)
 {
        struct spufs_inode_info *i = SPUFS_I(inode);
@@ -1083,13 +1076,6 @@ static const struct file_operations spufs_signal2_nosched_fops = {
        .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)
 {
        struct spu_context *ctx = data;