]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-powerpc/spu.h
[POWERPC] QE: clean up ucc_slow.c and ucc_fast.c
[karo-tx-linux.git] / include / asm-powerpc / spu.h
index 3d90264e9d367b50a5c543bb66265ddc7a6ccd87..0f9f2dd24a79a651771796536c7a97340c087ae5 100644 (file)
 
 struct spu_context;
 struct spu_runqueue;
+struct device_node;
 
 struct spu {
        const char *name;
@@ -128,7 +129,6 @@ struct spu {
        struct spu_runqueue *rq;
        unsigned long long timestamp;
        pid_t pid;
-       int prio;
        int class_0_pending;
        spinlock_t register_lock;
 
@@ -142,7 +142,19 @@ struct spu {
        char irq_c1[8];
        char irq_c2[8];
 
+       u64 spe_id;
+
        void* pdata; /* platform private data */
+
+       /* of based platforms only */
+       struct device_node *devnode;
+
+       /* native only */
+       struct spu_priv1 __iomem *priv1;
+
+       /* beat only */
+       u64 shadow_int_mask_RW[3];
+
        struct sys_device sysdev;
 };