aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/beat_udbg.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-06 14:01:23 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-08 16:25:16 +1100
commit19b0bd025d6647549e07becf02b99e5168c17432 (patch)
treedf68927ea17384478519865281ba5cfd29992d71 /arch/powerpc/platforms/cell/beat_udbg.c
parentpowerpc: Use correct type in prom_init.c (diff)
downloadlinux-dev-19b0bd025d6647549e07becf02b99e5168c17432.tar.xz
linux-dev-19b0bd025d6647549e07becf02b99e5168c17432.zip
powerpc/cell: Use correct types in beat files
Only pass the address of a u64 if that is what the function requires. [Split out of a larger patch - sfr] [update comment - sfr] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/beat_udbg.c')
-rw-r--r--arch/powerpc/platforms/cell/beat_udbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/beat_udbg.c b/arch/powerpc/platforms/cell/beat_udbg.c
index 6b418f6b6175..350735bc8888 100644
--- a/arch/powerpc/platforms/cell/beat_udbg.c
+++ b/arch/powerpc/platforms/cell/beat_udbg.c
@@ -40,8 +40,8 @@ static void udbg_putc_beat(char c)
}
/* Buffered chars getc */
-static long inbuflen;
-static long inbuf[2]; /* must be 2 longs */
+static u64 inbuflen;
+static u64 inbuf[2]; /* must be 2 u64s */
static int udbg_getc_poll_beat(void)
{