Skip to content

Commit

Permalink
powerpc/cell: Bitops work on unsigned longs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed Jan 8, 2009
1 parent d507017 commit ee418b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/spu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ee418b8

Please sign in to comment.