[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>
This commit is contained in:
Родитель
7ea6fd7e2d
Коммит
af8b44e01b
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче