diff options
| author | Becky Bruce <[email protected]> | 2009-04-08 14:09:20 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-08 14:18:37 +0000 |
| commit | 380d687833aee098c4a2c3b35beaefe1c1f48d01 (patch) | |
| tree | e021403a737ccd040621a17be9d8e545f8d76ea0 /arch/m32r/include/asm/m32r_mp_fpga.h | |
| parent | swiotlb: rename unmap_single to do_unmap_single (diff) | |
| download | kernel-380d687833aee098c4a2c3b35beaefe1c1f48d01.tar.gz kernel-380d687833aee098c4a2c3b35beaefe1c1f48d01.zip | |
swiotlb: use swiotlb_sync_single instead of duplicating code
Right now both swiotlb_sync_single_range and swiotlb_sync_sg
were duplicating the code in swiotlb_sync_single. Just call it
instead. Also rearrange the sync_single code for readability.
Note that the swiotlb_sync_sg code was previously doing
a complicated comparison to determine if an addresses needed
to be unmapped where a simple is_swiotlb_buffer() call
would have sufficed.
Signed-off-by: Becky Bruce <[email protected]>
Acked-by: FUJITA Tomonori <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/m32r/include/asm/m32r_mp_fpga.h')
0 files changed, 0 insertions, 0 deletions
