Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42259
b: refs/heads/master
c: 9b5047e
h: refs/heads/master
i:
  42257: 3813012
  42255: ff940eb
v: v3
  • Loading branch information
Dwayne Grant McConnell authored and Paul Mackerras committed Dec 4, 2006
1 parent 208bdca commit 998c9c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8dc86ab954d28513f75918d743c40cddbff7388a
refs/heads/master: 9b5047e249f429722d0adc54cb5ef051bd3d685c
13 changes: 7 additions & 6 deletions trunk/arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,8 @@ static u64 spufs_npc_get(void *data)
spu_release(ctx);
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_npc_ops, spufs_npc_get, spufs_npc_set, "%llx\n")
DEFINE_SIMPLE_ATTRIBUTE(spufs_npc_ops, spufs_npc_get, spufs_npc_set,
"0x%llx\n")

static void spufs_decr_set(void *data, u64 val)
{
Expand All @@ -1413,7 +1414,7 @@ static u64 spufs_decr_get(void *data)
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_ops, spufs_decr_get, spufs_decr_set,
"%llx\n")
"0x%llx\n")

static void spufs_decr_status_set(void *data, u64 val)
{
Expand All @@ -1435,7 +1436,7 @@ static u64 spufs_decr_status_get(void *data)
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_decr_status_ops, spufs_decr_status_get,
spufs_decr_status_set, "%llx\n")
spufs_decr_status_set, "0x%llx\n")

static void spufs_spu_tag_mask_set(void *data, u64 val)
{
Expand All @@ -1457,7 +1458,7 @@ static u64 spufs_spu_tag_mask_get(void *data)
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_spu_tag_mask_ops, spufs_spu_tag_mask_get,
spufs_spu_tag_mask_set, "%llx\n")
spufs_spu_tag_mask_set, "0x%llx\n")

static void spufs_event_mask_set(void *data, u64 val)
{
Expand All @@ -1479,7 +1480,7 @@ static u64 spufs_event_mask_get(void *data)
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_event_mask_ops, spufs_event_mask_get,
spufs_event_mask_set, "%llx\n")
spufs_event_mask_set, "0x%llx\n")

static void spufs_srr0_set(void *data, u64 val)
{
Expand All @@ -1501,7 +1502,7 @@ static u64 spufs_srr0_get(void *data)
return ret;
}
DEFINE_SIMPLE_ATTRIBUTE(spufs_srr0_ops, spufs_srr0_get, spufs_srr0_set,
"%llx\n")
"0x%llx\n")

static u64 spufs_id_get(void *data)
{
Expand Down

0 comments on commit 998c9c6

Please sign in to comment.