swiotlb: factor out a nr_slots helper
commit: c32a77fd Factor out a helper to find the number of slots for a given size. Signed-off-by:Christoph Hellwig <hch@lst.de> Acked-by:
Jianxiong Gao <jxgao@google.com> Tested-by:
Jianxiong Gao <jxgao@google.com> Signed-off-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by:
Jianxiong Gao <jxgao@google.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment