diff options
author | Mark Einon <mark.einon@gmail.com> | 2012-11-12 21:16:29 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 23:06:46 (GMT) |
commit | d3c75e8dc81b6482ea230d03bbddddd38db9ab35 (patch) | |
tree | 9fb545842663f5f57e527ea5fafefb52ddc58db0 /arch/parisc | |
parent | 87648933116f528b3cda64c4d80d9577277fe4f0 (diff) | |
download | linux-fsl-qoriq-d3c75e8dc81b6482ea230d03bbddddd38db9ab35.tar.xz |
staging: et131x: Remove unnecessary DMA address alignment code
"The cpu return address and the DMA bus master address are both
guaranteed to be aligned to the smallest PAGE_SIZE order which
is greater than or equal to the requested size."
There are several places in the et131x.c code where these addresses are
aligned to a 4k boundary after a call to dma_alloc_coherent(),
needlessly.
Remove these alignment offset calculations, and the
et131x_align_allocated_memory() call which is only used for 4k
alignments.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions