swiotlb-xen: Convert to use macro
authorSouptick Joarder <jrdr.linux@gmail.com>
Mon, 2 Sep 2019 08:39:58 +0000 (14:09 +0530)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 6 Sep 2019 13:20:50 +0000 (09:20 -0400)
commite6fa0dc86734f99b037b36b8682133efc2b6e16b
treea85a36f99d9a1f53e0d8e109e0954bb809bb0322
parent089cf7f6ecb266b6a4164919a2e69bd2f938374a
swiotlb-xen: Convert to use macro

Rather than using static int max_dma_bits, this
can be coverted to use as macro.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/swiotlb-xen.c