diff options
author | Timur Tabi <timur@freescale.com> | 2007-05-14 16:31:26 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-17 11:10:16 (GMT) |
commit | 1c2de47cd47daa033251dbb4a3643e7e87a681b0 (patch) | |
tree | 8353c7c550fcecea589d6c5c0fbee4ad35af7a78 /Documentation/i2o | |
parent | 991eb43af989002d5c7f4a2ff2a6c806a912b51b (diff) | |
download | linux-fsl-qoriq-1c2de47cd47daa033251dbb4a3643e7e87a681b0.tar.xz |
[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>
Diffstat (limited to 'Documentation/i2o')
0 files changed, 0 insertions, 0 deletions