commit | 1f2ef5a0f771f69f71549bb1917c6e8cb23e6818 | [log] [tgz] |
---|---|---|
author | Jianxiong Gao <jxgao@google.com> | Thu Apr 29 17:33:10 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 07 11:04:32 2021 +0200 |
tree | 6539d9dcf1b1022d171685fb3b1e5547ffa4e168 | |
parent | 1bbcc985d19524114bd2e0db1d826807043348cd [diff] |
swiotlb: factor out a nr_slots helper commit: c32a77fd18780a5192dfb6eec69f239faebf28fd 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>