diff options
author | Dwayne Grant McConnell <decimal@us.ibm.com> | 2006-11-20 12:44:59 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:39:47 -0500 |
commit | 1182e1d351d2a910bc0fb53c00277c62235333de (patch) | |
tree | 9efe2c71ee3cf96acd4b0df4c758124e41d00dfd /arch/powerpc/platforms/cell/spufs/file.c | |
parent | b9e3bd774bb1a90fee9b90f461a51e4ba295fe6d (diff) |
[POWERPC] spufs: Remove /spu_tag_mask file
This patch removes the /spu_tag_mask file from spufs. The data provided by
this file is also available from the /dma_info file in the dma_info_mask
of the spu_dma_info struct.
The file was intended to be used by gdb, but that never used it, and
now it has been replaced with the more verbose dma_info file.
Signed-off-by: Dwayne Grant McConnell <decimal@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/file.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 5bfabffd117..20b2a7aed63 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -1439,28 +1439,6 @@ static u64 spufs_decr_status_get(void *data) | |||
1439 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get, | 1439 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get, |
1440 | spufs_decr_status_set, "0x%llx\n") | 1440 | spufs_decr_status_set, "0x%llx\n") |
1441 | 1441 | ||
1442 | static void spufs_spu_tag_mask_set(void *data, u64 val) | ||
1443 | { | ||
1444 | struct spu_context *ctx = data; | ||
1445 | struct spu_lscsa *lscsa = ctx->csa.lscsa; | ||
1446 | spu_acquire_saved(ctx); | ||
1447 | lscsa->tag_mask.slot[0] = (u32) val; | ||
1448 | spu_release(ctx); | ||
1449 | } | ||
1450 | |||
1451 | static u64 spufs_spu_tag_mask_get(void *data) | ||
1452 | { | ||
1453 | struct spu_context *ctx = data; | ||
1454 | struct spu_lscsa *lscsa = ctx->csa.lscsa; | ||
1455 | u64 ret; | ||
1456 | spu_acquire_saved(ctx); | ||
1457 | ret = lscsa->tag_mask.slot[0]; | ||
1458 | spu_release(ctx); | ||
1459 | return ret; | ||
1460 | } | ||
1461 | DEFINE_SIMPLE_ATTRIBUTE(spufs_spu_tag_mask_ops, spufs_spu_tag_mask_get, | ||
1462 | spufs_spu_tag_mask_set, "0x%llx\n") | ||
1463 | |||
1464 | static void spufs_event_mask_set(void *data, u64 val) | 1442 | static void spufs_event_mask_set(void *data, u64 val) |
1465 | { | 1443 | { |
1466 | struct spu_context *ctx = data; | 1444 | struct spu_context *ctx = data; |
@@ -1678,7 +1656,6 @@ struct tree_descr spufs_dir_contents[] = { | |||
1678 | { "srr0", &spufs_srr0_ops, 0666, }, | 1656 | { "srr0", &spufs_srr0_ops, 0666, }, |
1679 | { "decr", &spufs_decr_ops, 0666, }, | 1657 | { "decr", &spufs_decr_ops, 0666, }, |
1680 | { "decr_status", &spufs_decr_status_ops, 0666, }, | 1658 | { "decr_status", &spufs_decr_status_ops, 0666, }, |
1681 | { "spu_tag_mask", &spufs_spu_tag_mask_ops, 0666, }, | ||
1682 | { "event_mask", &spufs_event_mask_ops, 0666, }, | 1659 | { "event_mask", &spufs_event_mask_ops, 0666, }, |
1683 | { "event_status", &spufs_event_status_ops, 0444, }, | 1660 | { "event_status", &spufs_event_status_ops, 0444, }, |
1684 | { "psmap", &spufs_psmap_fops, 0666, }, | 1661 | { "psmap", &spufs_psmap_fops, 0666, }, |