Commit ee418b86 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Benjamin Herrenschmidt

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent d5070178
...@@ -128,7 +128,7 @@ struct spu { ...@@ -128,7 +128,7 @@ struct spu {
int number; int number;
unsigned int irqs[3]; unsigned int irqs[3];
u32 node; u32 node;
u64 flags; unsigned long flags;
u64 class_0_pending; u64 class_0_pending;
u64 class_0_dar; u64 class_0_dar;
u64 class_1_dar; u64 class_1_dar;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment