aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/spu.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-12-30 17:06:15 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-08 16:25:12 +1100
commitee418b8646d5d6dc2df343ffaefd2b74940d0048 (patch)
tree8937e30956d70f4135996052af933f8768c8512d /arch/powerpc/include/asm/spu.h
parentd50701781a55d09696a0585112a124b0723acf3b (diff)
powerpc/cell: Bitops work on unsigned longs
So change the flags member of struct spu from u64 to unsigned long. This change will also prevent some warnings when we change u64 to unsigned long long. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/spu.h')
-rw-r--r--arch/powerpc/include/asm/spu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/spu.h b/arch/powerpc/include/asm/spu.h
index 8b2eb044270..0ab8d869e3d 100644
--- a/arch/powerpc/include/asm/spu.h
+++ b/arch/powerpc/include/asm/spu.h
@@ -128,7 +128,7 @@ struct spu {
int number;
unsigned int irqs[3];
u32 node;
- u64 flags;
+ unsigned long flags;
u64 class_0_pending;
u64 class_0_dar;
u64 class_1_dar;