]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/spu.h
[POWERPC] spufs: scheduler support for NUMA.
[linux-2.6] / include / asm-powerpc / spu.h
index 9609d3ee8798a18fc2ea49994c28b362fd612051..f6c0a95e82094b0ff903e97746ec02b17bee59e9 100644 (file)
@@ -106,7 +106,7 @@ struct spu_context;
 struct spu_runqueue;
 
 struct spu {
-       char *name;
+       const char *name;
        unsigned long local_store_phys;
        u8 *local_store;
        unsigned long problem_phys;
@@ -117,6 +117,7 @@ struct spu {
        struct list_head sched_list;
        int number;
        int nid;
+       unsigned int irqs[3];
        u32 isrc;
        u32 node;
        u64 flags;
@@ -146,6 +147,7 @@ struct spu {
 };
 
 struct spu *spu_alloc(void);
+struct spu *spu_alloc_node(int node);
 void spu_free(struct spu *spu);
 int spu_irq_class_0_bottom(struct spu *spu);
 int spu_irq_class_1_bottom(struct spu *spu);