diff options
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 0ea2361865a2..7f1262706671 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -1391,7 +1391,8 @@ static u64 spufs_npc_get(void *data) | |||
1391 | spu_release(ctx); | 1391 | spu_release(ctx); |
1392 | return ret; | 1392 | return ret; |
1393 | } | 1393 | } |
1394 | DEFINE_SIMPLE_ATTRIBUTE(spufs_npc_ops, spufs_npc_get, spufs_npc_set, "%llx\n") | 1394 | DEFINE_SIMPLE_ATTRIBUTE(spufs_npc_ops, spufs_npc_get, spufs_npc_set, |
1395 | "0x%llx\n") | ||
1395 | 1396 | ||
1396 | static void spufs_decr_set(void *data, u64 val) | 1397 | static void spufs_decr_set(void *data, u64 val) |
1397 | { | 1398 | { |
@@ -1413,7 +1414,7 @@ static u64 spufs_decr_get(void *data) | |||
1413 | return ret; | 1414 | return ret; |
1414 | } | 1415 | } |
1415 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_ops, spufs_decr_get, spufs_decr_set, | 1416 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_ops, spufs_decr_get, spufs_decr_set, |
1416 | "%llx\n") | 1417 | "0x%llx\n") |
1417 | 1418 | ||
1418 | static void spufs_decr_status_set(void *data, u64 val) | 1419 | static void spufs_decr_status_set(void *data, u64 val) |
1419 | { | 1420 | { |
@@ -1435,7 +1436,7 @@ static u64 spufs_decr_status_get(void *data) | |||
1435 | return ret; | 1436 | return ret; |
1436 | } | 1437 | } |
1437 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get, | 1438 | DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get, |
1438 | spufs_decr_status_set, "%llx\n") | 1439 | spufs_decr_status_set, "0x%llx\n") |
1439 | 1440 | ||
1440 | static void spufs_spu_tag_mask_set(void *data, u64 val) | 1441 | static void spufs_spu_tag_mask_set(void *data, u64 val) |
1441 | { | 1442 | { |
@@ -1457,7 +1458,7 @@ static u64 spufs_spu_tag_mask_get(void *data) | |||
1457 | return ret; | 1458 | return ret; |
1458 | } | 1459 | } |
1459 | DEFINE_SIMPLE_ATTRIBUTE(spufs_spu_tag_mask_ops, spufs_spu_tag_mask_get, | 1460 | DEFINE_SIMPLE_ATTRIBUTE(spufs_spu_tag_mask_ops, spufs_spu_tag_mask_get, |
1460 | spufs_spu_tag_mask_set, "%llx\n") | 1461 | spufs_spu_tag_mask_set, "0x%llx\n") |
1461 | 1462 | ||
1462 | static void spufs_event_mask_set(void *data, u64 val) | 1463 | static void spufs_event_mask_set(void *data, u64 val) |
1463 | { | 1464 | { |
@@ -1479,7 +1480,7 @@ static u64 spufs_event_mask_get(void *data) | |||
1479 | return ret; | 1480 | return ret; |
1480 | } | 1481 | } |
1481 | DEFINE_SIMPLE_ATTRIBUTE(spufs_event_mask_ops, spufs_event_mask_get, | 1482 | DEFINE_SIMPLE_ATTRIBUTE(spufs_event_mask_ops, spufs_event_mask_get, |
1482 | spufs_event_mask_set, "%llx\n") | 1483 | spufs_event_mask_set, "0x%llx\n") |
1483 | 1484 | ||
1484 | static void spufs_srr0_set(void *data, u64 val) | 1485 | static void spufs_srr0_set(void *data, u64 val) |
1485 | { | 1486 | { |
@@ -1501,7 +1502,7 @@ static u64 spufs_srr0_get(void *data) | |||
1501 | return ret; | 1502 | return ret; |
1502 | } | 1503 | } |
1503 | DEFINE_SIMPLE_ATTRIBUTE(spufs_srr0_ops, spufs_srr0_get, spufs_srr0_set, | 1504 | DEFINE_SIMPLE_ATTRIBUTE(spufs_srr0_ops, spufs_srr0_get, spufs_srr0_set, |
1504 | "%llx\n") | 1505 | "0x%llx\n") |
1505 | 1506 | ||
1506 | static u64 spufs_id_get(void *data) | 1507 | static u64 spufs_id_get(void *data) |
1507 | { | 1508 | { |