aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c23
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 5bfabffd117e..20b2a7aed63e 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)
1439DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get, 1439DEFINE_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
1442static 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
1451static 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}
1461DEFINE_SIMPLE_ATTRIBUTE(spufs_spu_tag_mask_ops, spufs_spu_tag_mask_get,
1462 spufs_spu_tag_mask_set, "0x%llx\n")
1463
1464static void spufs_event_mask_set(void *data, u64 val) 1442static 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, },