Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91482
b: refs/heads/master
c: 23afcb4
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Yamamoto authored and Paul Mackerras committed Apr 1, 2008
1 parent 10cdbe1 commit c1ed563
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad18c3db337c6307c7bfbe1f89ad6d92714ffc11
refs/heads/master: 23afcb4e0061c591776a3350db89512d085397c2
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/platforms/ps3/spu.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <asm/spu.h>
#include <asm/spu_priv1.h>
#include <asm/lv1call.h>
#include <asm/ps3.h>

#include "../cell/spufs/spufs.h"
#include "platform.h"
Expand Down Expand Up @@ -140,6 +141,12 @@ static void _dump_areas(unsigned int spe_id, unsigned long priv2,
pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow);
}

inline u64 ps3_get_spe_id(void *arg)
{
return spu_pdata(arg)->spe_id;
}
EXPORT_SYMBOL_GPL(ps3_get_spe_id);

static unsigned long get_vas_id(void)
{
unsigned long id;
Expand Down

0 comments on commit c1ed563

Please sign in to comment.