linux/arch/powerpc/lib
Timur Tabi 1c2de47cd4 [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks
When an rheap is created, the caller can specify the alignment to use.  In
rh_alloc_align(), if a free block is found that is the exact size needed
(including extra space for alignment), that configured alignment value is not
used to align the pointer.  Instead, the default alignment is used.  If the
default alignment is smaller than the configured alignment, then the returned
value will not be aligned correctly.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-05-17 21:10:16 +10:00
..
checksum_32.S
checksum_64.S
copy_32.S
copypage_64.S
copyuser_64.S
div64.S
dma-noncoherent.c [POWERPC] Remove use of 4level-fixup.h for ppc32 2007-05-08 13:40:31 +10:00
locks.c
Makefile [POWERPC] User rheap from arch/powerpc/lib 2007-05-09 23:28:17 -05:00
mem_64.S
memcpy_64.S
rheap.c [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
sstep.c
string.S
usercopy_64.c