* [PATCH] powerpc/cell: bitops work on unsigned longs
@ 2008-12-31 3:06 Stephen Rothwell
2008-12-31 9:29 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2008-12-31 3:06 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: ppc-dev
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>
---
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 8b2eb04..0ab8d86 100644
--- a/arch/powerpc/include/asm/spu.h
+++ b/arch/powerpc/include/asm/spu.h
@@ -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;
--
1.6.0.5
--
Cheers,
Stephen Rothwell sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] powerpc/cell: bitops work on unsigned longs
2008-12-31 3:06 [PATCH] powerpc/cell: bitops work on unsigned longs Stephen Rothwell
@ 2008-12-31 9:29 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2008-12-31 9:29 UTC (permalink / raw)
To: linuxppc-dev, Paul Mackerras; +Cc: Stephen Rothwell
On Wednesday 31 December 2008, Stephen Rothwell wrote:
> 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.
Thanks. I'm still on vacation right now, so it's probably best
if Paul takes these two patches directly.
> Signed-off-by: Stephen Rothwell <sfr@canb•auug.org.au>
Acked-by: Arnd Bergmann <arnd@arndb•de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-31 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31 3:06 [PATCH] powerpc/cell: bitops work on unsigned longs Stephen Rothwell
2008-12-31 9:29 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox