diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2006-05-01 21:16:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-02 03:17:46 +0200 |
commit | 8261aa600943046a5305564a1cd7432009971799 (patch) | |
tree | a25304dd85c473d2fae77bc27fec49183978feba /include/asm-powerpc/spu.h | |
parent | [PATCH] powerpc: Allow devices to register with numa topology (diff) | |
download | linux-8261aa600943046a5305564a1cd7432009971799.tar.xz 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.h | 1 |
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; |