diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-03-24 22:15:11 -0400 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-03-27 23:35:56 -0400 |
commit | af8b44e01b4e5a94cb665f6b958f5a5bc4025b0e (patch) | |
tree | 352b7df476a66a66f48d3f6b93d3a031a4504094 | |
parent | 7ea6fd7e2df041297298b5feb5b7b78a2b1a5310 (diff) |
[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>
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 4 |
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 f7a7e8635fb6..189933e3a94d 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) | |||
1337 | return ctx->ops->signal1_type_get(ctx); | 1337 | return ctx->ops->signal1_type_get(ctx); |
1338 | } | 1338 | } |
1339 | DEFINE_SPUFS_ATTRIBUTE(spufs_signal1_type, spufs_signal1_type_get, | 1339 | DEFINE_SPUFS_ATTRIBUTE(spufs_signal1_type, spufs_signal1_type_get, |
1340 | spufs_signal1_type_set, "%llu", SPU_ATTR_ACQUIRE); | 1340 | spufs_signal1_type_set, "%llu\n", SPU_ATTR_ACQUIRE); |
1341 | 1341 | ||
1342 | 1342 | ||
1343 | static int spufs_signal2_type_set(void *data, u64 val) | 1343 | static int spufs_signal2_type_set(void *data, u64 val) |
@@ -1359,7 +1359,7 @@ static u64 spufs_signal2_type_get(struct spu_context *ctx) | |||
1359 | return ctx->ops->signal2_type_get(ctx); | 1359 | return ctx->ops->signal2_type_get(ctx); |
1360 | } | 1360 | } |
1361 | DEFINE_SPUFS_ATTRIBUTE(spufs_signal2_type, spufs_signal2_type_get, | 1361 | DEFINE_SPUFS_ATTRIBUTE(spufs_signal2_type, spufs_signal2_type_get, |
1362 | spufs_signal2_type_set, "%llu", SPU_ATTR_ACQUIRE); | 1362 | spufs_signal2_type_set, "%llu\n", SPU_ATTR_ACQUIRE); |
1363 | 1363 | ||
1364 | #if SPUFS_MMAP_4K | 1364 | #if SPUFS_MMAP_4K |
1365 | static unsigned long spufs_mss_mmap_nopfn(struct vm_area_struct *vma, | 1365 | static unsigned long spufs_mss_mmap_nopfn(struct vm_area_struct *vma, |