Re: [patch 2.6.13] swiotlb: add swiotlb_sync_single_range_for_{cpu,device}

John W. Linville
2005-08-30T18:09:14Z

On Tue, Aug 30, 2005 at 11:03:35AM -0700, Luck, Tony wrote:
>
> >+swiotlb_sync_single_range_for_cpu(struct device *hwdev,
> >+swiotlb_sync_single_range_for_device(struct device *hwdev,
>
> Huh? These look identical ... same args, same code, just a
> different name.

Have you looked at the implementations for swiotlb_sync_single_for_cpu
and swiotlb_sync_single_for_device? Those are already identical.

I'm just following the existing style/practice in that file. I could
do an additional patch to rectify the replication in those functions
if you'd like?

Who is responsible for the swiotlb code?

John
--
John W. Linville
linville@tuxdriver.com