diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-06 17:01:23 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 08:25:16 +0300 |
commit | 19b0bd025d6647549e07becf02b99e5168c17432 (patch) | |
tree | df68927ea17384478519865281ba5cfd29992d71 /arch/powerpc/platforms/cell/beat_udbg.c | |
parent | 2b931fb67e10d6eb99d9928fa3afe83cdeeb7354 (diff) | |
download | linux-19b0bd025d6647549e07becf02b99e5168c17432.tar.xz |
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.c | 4 |
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) { |