Konrad Rzeszutek Wilk c468bdee28 xen/swiotlb: For early initialization, return zero on success.
If everything is setup properly we would return -ENOMEM since
rc by default is set to that value. Lets not do that and return
a proper return code.

Note: The reason the early code needs this special treatment
is that it SWIOTLB library call does not return anything (and
had it failed it would call panic()) - but our function does.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-09-17 13:00:41 -04:00
..
2012-04-06 17:54:53 -07:00
2012-05-24 16:02:08 -07:00
2012-06-15 17:17:15 -07:00
2012-04-17 13:27:17 -04:00
2012-05-24 16:02:08 -07:00
2012-04-19 15:12:49 -04:00
2012-03-22 20:16:14 -07:00