summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/of.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@eu.sony.com>2007-04-18 19:24:12 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-24 22:06:54 +1000
commit4ca478e6066ce57f7cc856af36aaf1a2d64417cb (patch)
treee7fd07e2a44e0027064c62e493fc9f7015fe9dcf /arch/powerpc/boot/of.c
parente58923ed14370e0facc5eb2c3923216adc3bf260 (diff)
[POWERPC] bootwrapper: Use `unsigned long' for malloc sizes
Use `unsigned long' for malloc sizes, to match common practice and types used by most callers and callees. Also use `unsigned long' for integers representing pointers in simple_alloc. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@eu.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/of.c')
-rw-r--r--arch/powerpc/boot/of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/of.c b/arch/powerpc/boot/of.c
index 8fb42b63ec53..d16ee3e3f868 100644
--- a/arch/powerpc/boot/of.c
+++ b/arch/powerpc/boot/of.c
@@ -173,7 +173,7 @@ static void *claim(unsigned long virt, unsigned long size, unsigned long align)
return (void *) virt;
}
-static void *of_try_claim(u32 size)
+static void *of_try_claim(unsigned long size)
{
unsigned long addr = 0;