aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs/file.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-03-25 13:15:11 +1100
committerJeremy Kerr <jk@ozlabs.org>2008-03-28 14:35:56 +1100
commitaf8b44e01b4e5a94cb665f6b958f5a5bc4025b0e (patch)
tree352b7df476a66a66f48d3f6b93d3a031a4504094 /arch/powerpc/platforms/cell/spufs/file.c
parent7ea6fd7e2df041297298b5feb5b7b78a2b1a5310 (diff)
downloadkernel_samsung_crespo-af8b44e01b4e5a94cb665f6b958f5a5bc4025b0e.zip
kernel_samsung_crespo-af8b44e01b4e5a94cb665f6b958f5a5bc4025b0e.tar.gz
kernel_samsung_crespo-af8b44e01b4e5a94cb665f6b958f5a5bc4025b0e.tar.bz2
[POWERPC] spufs: add newline to signal{1,2}_type files
All of the single-value files in spufs are terminated by a newline, except for signal1_type and signal2_type. This change adds a trailing newline to these two files. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/file.c')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index f7a7e86..189933e 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -1337,7 +1337,7 @@ static u64 spufs_signal1_type_get(struct spu_context *ctx)
return ctx->ops->signal1_type_get(ctx);
}
DEFINE_SPUFS_ATTRIBUTE(spufs_signal1_type, spufs_signal1_type_get,
- spufs_signal1_type_set, "%llu", SPU_ATTR_ACQUIRE);
+ spufs_signal1_type_set, "%llu\n", SPU_ATTR_ACQUIRE);
static int spufs_signal2_type_set(void *data, u64 val)
@@ -1359,7 +1359,7 @@ static u64 spufs_signal2_type_get(struct spu_context *ctx)
return ctx->ops->signal2_type_get(ctx);
}
DEFINE_SPUFS_ATTRIBUTE(spufs_signal2_type, spufs_signal2_type_get,
- spufs_signal2_type_set, "%llu", SPU_ATTR_ACQUIRE);
+ spufs_signal2_type_set, "%llu\n", SPU_ATTR_ACQUIRE);
#if SPUFS_MMAP_4K
static unsigned long spufs_mss_mmap_nopfn(struct vm_area_struct *vma,