mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[POWERPC] Remove iSeries_vio_dev
It was only being used to carry around dma_iommu_ops and vio_iommu_table which we can use directly instead. This also means that vio_bus_device doesn't need to refer to them either. Signed-off-by: Stephen Rothwell <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
73be7d5267
commit
1670b2b271
8 changed files with 57 additions and 35 deletions
|
|
@ -220,7 +220,7 @@ static void __init get_viocd_info(void)
|
|||
struct cdrom_info *viocd_unitinfo;
|
||||
dma_addr_t unitinfo_dmaaddr;
|
||||
|
||||
viocd_unitinfo = dma_alloc_coherent(iSeries_vio_dev,
|
||||
viocd_unitinfo = iseries_hv_alloc(
|
||||
sizeof(*viocd_unitinfo) * VIOCD_MAX_CD,
|
||||
&unitinfo_dmaaddr, GFP_ATOMIC);
|
||||
if (viocd_unitinfo == NULL) {
|
||||
|
|
@ -262,8 +262,7 @@ static void __init get_viocd_info(void)
|
|||
}
|
||||
|
||||
error_ret:
|
||||
dma_free_coherent(iSeries_vio_dev,
|
||||
sizeof(*viocd_unitinfo) * VIOCD_MAX_CD,
|
||||
iseries_hv_free(sizeof(*viocd_unitinfo) * VIOCD_MAX_CD,
|
||||
viocd_unitinfo, unitinfo_dmaaddr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue