Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / arch / powerpc / platforms / cell / spufs / run.c
index 483c8b7..545d85c 100644 (file)
@@ -51,6 +51,7 @@ static inline int spu_run_fini(struct spu_context *ctx, u32 * npc,
 
        if (signal_pending(current))
                ret = -ERESTARTSYS;
+#if 0 /* XXX */
        if (unlikely(current->ptrace & PT_PTRACED)) {
                if ((*status & SPU_STATUS_STOPPED_BY_STOP)
                    && (*status >> SPU_STOP_STATUS_SHIFT) == 0x3fff) {
@@ -58,6 +59,7 @@ static inline int spu_run_fini(struct spu_context *ctx, u32 * npc,
                        ret = -ERESTARTSYS;
                }
        }
+#endif
        return ret;
 }