]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/cell: Bitops work on unsigned longs
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Dec 2008 17:06:15 +0000 (17:06 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Jan 2009 05:25:12 +0000 (16:25 +1100)
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>
arch/powerpc/include/asm/spu.h

index 8b2eb044270ad65b02f9a6bc145701df04c921ce..0ab8d869e3d61d83c8984c4492019e6d022e2e46 100644 (file)
@@ -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;