提交 ee418b86 编写于 作者: S Stephen Rothwell 提交者: 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: NStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册