Skip to content

Commit

Permalink
spusched: fix mismerge in spufs.h
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Jul 24, 2007
1 parent cb27680 commit b2c863b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/powerpc/platforms/cell/spufs/spufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ enum {
struct spu_context_ops;
struct spu_gang;

enum {
SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */
};

/* ctx->sched_flags */
enum {
SPU_SCHED_NOTIFY_ACTIVE,
SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */
};

struct spu_context {
Expand Down

0 comments on commit b2c863b

Please sign in to comment.