diff options
| author | Christoph Hellwig <hch@lst.de> | 2007-07-23 21:43:53 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-24 15:24:58 -0400 |
| commit | b2c863bd2daa2b2e36d66db58bc1e18f37151829 (patch) | |
| tree | a1d2a8bdfa5c5dd19ed54ac5da683e8b8398fad5 | |
| parent | cb276805803b8e0616159d80a441ab26a931ada4 (diff) | |
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.
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>
| -rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 8b20c0c1556f..2bfdeb8ea8bd 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h | |||
| @@ -40,13 +40,10 @@ enum { | |||
| 40 | struct spu_context_ops; | 40 | struct spu_context_ops; |
| 41 | struct spu_gang; | 41 | struct spu_gang; |
| 42 | 42 | ||
| 43 | enum { | ||
| 44 | SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */ | ||
| 45 | }; | ||
| 46 | |||
| 47 | /* ctx->sched_flags */ | 43 | /* ctx->sched_flags */ |
| 48 | enum { | 44 | enum { |
| 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 | ||
| 52 | struct spu_context { | 49 | struct spu_context { |
