Commit graph android_kernel_sony_sdm845/arch/powerpc/boot/simple_alloc.c
Message SHA1
[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>

Geert Uytterhoeven   authored and   Paul Mackerras   commited 2007-04-24 22:06:54 +10:00
4ca478e606
[POWERPC] Add simple memory allocator to bootwrapper
Provide primitive malloc, free, and realloc functions for bootwrapper.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Mark A. Greer   authored and   Paul Mackerras   commited 2006-10-23 12:49:19 +10:00
01a6372008