summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
authorJeremy Kerr2006-05-01 21:16:13 +0200
committerLinus Torvalds2006-05-02 03:17:46 +0200
commit8261aa600943046a5305564a1cd7432009971799 (patch)
treea25304dd85c473d2fae77bc27fec49183978feba /include/asm-powerpc/spu.h
parent[PATCH] powerpc: Allow devices to register with numa topology (diff)
downloadkernel-qcow2-linux-8261aa600943046a5305564a1cd7432009971799.tar.gz
kernel-qcow2-linux-8261aa600943046a5305564a1cd7432009971799.tar.xz
kernel-qcow2-linux-8261aa600943046a5305564a1cd7432009971799.zip
[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 <arnd.bergmann@de.ibm.com> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index f431d8b0b651..7cfcff3ef027 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -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;