dma_get_required_mask for ARM64
catalin.marinas at arm.com
Fri Jun 6 14:27:30 PDT 2014
On 6 Jun 2014, at 17:00, Suravee Suthikulanit <suravee.suthikulpanit at amd.com> wrote:
> In the arch/arm64/include/asm/dma-mapping.h defines the macro
> "ARCH_HAS_DMA_GET_REQUIRED_MASK". However, I can't seem to find where
> the function "dma_get_required_mask" defined for ARM64. I got a
> compilation error when building one of the driver:
> ERROR: "dma_get_required_mask" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined!
> make: *** [__modpost] Error 1
> make: *** [modules] Error 2
> Is this function defined anywhere for ARM64?
No, and I don’t remember to have had a reason for this. Please send a
patch removing it.
More information about the linux-arm-kernel