| commit | 8270f3f1a605c83b3aa516c1eaed209fe0884e84 | [log] [tgz] |
|---|---|---|
| author | John W. Linville <linville@tuxdriver.com> | Thu Sep 29 14:43:32 2005 -0700 |
| committer | Tony Luck <tony.luck@intel.com> | Thu Sep 29 14:43:32 2005 -0700 |
| tree | dbe49f6263658cd9b7ace81fed257009140c0b9e | |
| parent | 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc [diff] |
[PATCH] swiotlb: cleanup some code duplication cruft
The implementations of swiotlb_sync_single_for_{cpu,device} are
identical. Likewise for swiotlb_syng_sg_for_{cpu,device}. This patch
move the guts of those functions to two new inline functions, and
calls the appropriate one from the bodies of those functions.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>