[POWERPC] PS3: Add ps3_get_speid routine
authorTakashi Yamamoto <TakashiA.Yamamoto@jp.sony.com>
Thu, 27 Mar 2008 00:37:38 +0000 (11:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Apr 2008 09:43:07 +0000 (20:43 +1100)
commit23afcb4e0061c591776a3350db89512d085397c2
tree80761892fd700421ddde808ba3749650f66fbecf
parentad18c3db337c6307c7bfbe1f89ad6d92714ffc11
[POWERPC] PS3: Add ps3_get_speid routine

Add a new routine ps3_get_speid() which returns the logical
SPE ID.  This ID is needed for profiling support.

Signed-off-by: Takashi Yamamoto <TakashiA.Yamamoto@jp.sony.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/spu.c