diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-30 12:06:15 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 00:25:12 -0500 |
commit | ee418b8646d5d6dc2df343ffaefd2b74940d0048 (patch) | |
tree | 8937e30956d70f4135996052af933f8768c8512d /arch | |
parent | d50701781a55d09696a0585112a124b0723acf3b (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')
-rw-r--r-- | arch/powerpc/include/asm/spu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/spu.h b/arch/powerpc/include/asm/spu.h index 8b2eb044270a..0ab8d869e3d6 100644 --- a/arch/powerpc/include/asm/spu.h +++ b/arch/powerpc/include/asm/spu.h | |||
@@ -128,7 +128,7 @@ struct spu { | |||
128 | int number; | 128 | int number; |
129 | unsigned int irqs[3]; | 129 | unsigned int irqs[3]; |
130 | u32 node; | 130 | u32 node; |
131 | u64 flags; | 131 | unsigned long flags; |
132 | u64 class_0_pending; | 132 | u64 class_0_pending; |
133 | u64 class_0_dar; | 133 | u64 class_0_dar; |
134 | u64 class_1_dar; | 134 | u64 class_1_dar; |