aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c2
-rw-r--r--include/asm-powerpc/spu.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index dd632e5feff..0fc2e12a3c8 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -593,6 +593,8 @@ static int __init create_spu(void *data)
ktime_get_ts(&ts);
spu->stats.tstamp = timespec_to_ns(&ts);
+ INIT_LIST_HEAD(&spu->aff_list);
+
goto out;
out_free_irqs:
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 2f2fe9f1c09..18e558bef98 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -166,6 +166,9 @@ struct spu {
struct sys_device sysdev;
+ int has_mem_affinity;
+ struct list_head aff_list;
+
struct {
/* protected by interrupt reentrancy */
enum spu_utilization_state util_state;