xen/swiotlb: Move the nr_tbl determination in its own function.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 23 Aug 2012 17:55:26 +0000 (13:55 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 17 Sep 2012 14:14:54 +0000 (10:14 -0400)
commit1cef36a529f44dbb3612ee0deeb0b5563de36163
treea5851da4d1ff6df0a1be05755205e01d33c9d20e
parent74838b75379a53678ffc5f59de86161d21e2c808
xen/swiotlb: Move the nr_tbl determination in its own function.

Moving the function out of the way to prepare for the late
SWIOTLB init.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/swiotlb-xen.c