Fix region sizing problem in dma_mark_declared_memory_occupied()
The current code reserves too few pages if addr isn't
page aligned and size just spans onto the last page.
Fix by increasing size by the addr misalignment amount.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Showing
Please register or sign in to comment