Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Linus Torvalds
b2c863bd cb276805

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