[PATCH] powerpc: cell: Add numa id to struct spu

Add an nid member to the spu structure, and store the numa id of the spu there
on creation.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Jeremy Kerr 2006-05-01 12:16:13 -07:00 • committed by Linus Torvalds
commit 8261aa6009
2 changed files with 21 additions and 23 deletions

View file

@ -117,6 +117,7 @@ struct spu {
struct list_head list;
struct list_head sched_list;
int number;
int nid;
u32 isrc;
u32 node;
u64 flags;