aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c2
-rw-r--r--arch/powerpc/platforms/cell/spufs/switch.c1
-rw-r--r--include/asm-powerpc/spu.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index 8ca22394e4d3..249a0af4cc99 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -160,7 +160,6 @@ static int __spu_trap_mailbox(struct spu *spu)
160static int __spu_trap_stop(struct spu *spu) 160static int __spu_trap_stop(struct spu *spu)
161{ 161{
162 pr_debug("%s\n", __FUNCTION__); 162 pr_debug("%s\n", __FUNCTION__);
163 spu->stop_code = in_be32(&spu->problem->spu_status_R);
164 if (spu->stop_callback) 163 if (spu->stop_callback)
165 spu->stop_callback(spu); 164 spu->stop_callback(spu);
166 return 0; 165 return 0;
@@ -169,7 +168,6 @@ static int __spu_trap_stop(struct spu *spu)
169static int __spu_trap_halt(struct spu *spu) 168static int __spu_trap_halt(struct spu *spu)
170{ 169{
171 pr_debug("%s\n", __FUNCTION__); 170 pr_debug("%s\n", __FUNCTION__);
172 spu->stop_code = in_be32(&spu->problem->spu_status_R);
173 if (spu->stop_callback) 171 if (spu->stop_callback)
174 spu->stop_callback(spu); 172 spu->stop_callback(spu);
175 return 0; 173 return 0;
diff --git a/arch/powerpc/platforms/cell/spufs/switch.c b/arch/powerpc/platforms/cell/spufs/switch.c
index 2dae062a9aec..b30e55dab832 100644
--- a/arch/powerpc/platforms/cell/spufs/switch.c
+++ b/arch/powerpc/platforms/cell/spufs/switch.c
@@ -2109,7 +2109,6 @@ int spu_restore(struct spu_state *new, struct spu *spu)
2109 2109
2110 acquire_spu_lock(spu); 2110 acquire_spu_lock(spu);
2111 harvest(NULL, spu); 2111 harvest(NULL, spu);
2112 spu->stop_code = 0;
2113 spu->dar = 0; 2112 spu->dar = 0;
2114 spu->dsisr = 0; 2113 spu->dsisr = 0;
2115 spu->slb_replace = 0; 2114 spu->slb_replace = 0;
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index c7812e92f683..c0290f9d20bd 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -134,7 +134,6 @@ struct spu {
134 int class_0_pending; 134 int class_0_pending;
135 spinlock_t register_lock; 135 spinlock_t register_lock;
136 136
137 u32 stop_code;
138 void (* wbox_callback)(struct spu *spu); 137 void (* wbox_callback)(struct spu *spu);
139 void (* ibox_callback)(struct spu *spu); 138 void (* ibox_callback)(struct spu *spu);
140 void (* stop_callback)(struct spu *spu); 139 void (* stop_callback)(struct spu *spu);