aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 3d90264e9d36..0f9f2dd24a79 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -104,6 +104,7 @@
104 104
105struct spu_context; 105struct spu_context;
106struct spu_runqueue; 106struct spu_runqueue;
107struct device_node;
107 108
108struct spu { 109struct spu {
109 const char *name; 110 const char *name;
@@ -128,7 +129,6 @@ struct spu {
128 struct spu_runqueue *rq; 129 struct spu_runqueue *rq;
129 unsigned long long timestamp; 130 unsigned long long timestamp;
130 pid_t pid; 131 pid_t pid;
131 int prio;
132 int class_0_pending; 132 int class_0_pending;
133 spinlock_t register_lock; 133 spinlock_t register_lock;
134 134
@@ -142,7 +142,19 @@ struct spu {
142 char irq_c1[8]; 142 char irq_c1[8];
143 char irq_c2[8]; 143 char irq_c2[8];
144 144
145 u64 spe_id;
146
145 void* pdata; /* platform private data */ 147 void* pdata; /* platform private data */
148
149 /* of based platforms only */
150 struct device_node *devnode;
151
152 /* native only */
153 struct spu_priv1 __iomem *priv1;
154
155 /* beat only */
156 u64 shadow_int_mask_RW[3];
157
146 struct sys_device sysdev; 158 struct sys_device sysdev;
147}; 159};
148 160