History

spusched: fix mismerge in spufs.h

spufs.h now has two enums for the sched_flags leading to identical values for SPU_SCHED_WAS_ACTIVE and SPU_SCHED_NOTIFY_ACTIVE. Merge them into a single enum as they were in the IBM development tree.

Christoph Hellwig committed 19 years ago

Commit b2c863b1 parent cb276801 file · +1 −4Browse files

Unified · Split

arch/powerpc/platforms/cell/spufs/spufs.h+1−4
@@ -40,13 +40,10 @@ enum { · 39 unmodified lines
40struct spu_context_ops;40struct spu_context_ops;
41struct spu_gang;41struct spu_gang;
42 42
43enum {
44 SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */
45};
46
47/* ctx->sched_flags */43/* ctx->sched_flags */
48enum {44enum {
49 SPU_SCHED_NOTIFY_ACTIVE,45 SPU_SCHED_NOTIFY_ACTIVE,
46 SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */
50};47};
51 48
52struct spu_context {49struct spu_context {