diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2009-04-08 09:09:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-08 16:18:37 +0200 |
commit | 7fcebbd2d984eac3fdd6da2f4453e7c43d32de89 (patch) | |
tree | 0ebf481563b44a82688418eb6e607984591b1963 /drivers/rtc/rtc-ds1216.c | |
parent | ef5722f698bde01cfec2b98fff733a48663ebf55 (diff) |
swiotlb: rename unmap_single to do_unmap_single
Previously, swiotlb_unmap_page and swiotlb_unmap_sg were
duplicating very similar code. Refactor that code into a
new unmap_single and unmap_single use do_unmap_single.
Note that the swiotlb_unmap_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 <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Cc: jeremy@goop.org
Cc: ian.campbell@citrix.com
LKML-Reference: <1239199761-22886-6-git-send-email-galak@kernel.crashing.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/rtc/rtc-ds1216.c')
0 files changed, 0 insertions, 0 deletions