swiotlb: add a IO_TLB_SIZE define
Add a new IO_TLB_SIZE define instead open coding it using IO_TLB_SHIFT all over. Signed-off-by: NChristoph Hellwig <hch@lst.de> Acked-by: NJianxiong Gao <jxgao@google.com> Tested-by: NJianxiong Gao <jxgao@google.com> Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Showing
想要评论请 注册 或 登录