lkml.org 
[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/9] swiotlb: use dma_to_phys and phys_to_dma
    Ian Campbell wrote:
    > static dma_addr_t swiotlb_virt_to_bus(struct device *hwdev,
    > volatile void *address)
    > {
    > - return swiotlb_phys_to_bus(hwdev, virt_to_phys(address));
    > + return phys_to_dma(hwdev, virt_to_phys(address));
    > }
    >
    > void * __weak swiotlb_bus_to_virt(struct device *hwdev, dma_addr_t address)
    >

    Does this need to be weak too?

    J


    \
     
     \ /
      Last update: 2009-05-29 23:11    [W:0.023 / U:89.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site