diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@eu.sony.com> | 2007-04-18 09:24:12 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-24 12:06:54 (GMT) |
commit | 4ca478e6066ce57f7cc856af36aaf1a2d64417cb (patch) | |
tree | e7fd07e2a44e0027064c62e493fc9f7015fe9dcf /arch/powerpc/boot/of.c | |
parent | e58923ed14370e0facc5eb2c3923216adc3bf260 (diff) | |
download | linux-4ca478e6066ce57f7cc856af36aaf1a2d64417cb.tar.xz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/of.c b/arch/powerpc/boot/of.c index 8fb42b6..d16ee3e 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; |