Re: [Xen-devel] [PATCH 2/3] x86: allow dma_get_required_mask() to be overridden
From: David Vrabel
Date: Thu Nov 13 2014 - 05:30:28 EST
On 13/11/14 10:25, Jan Beulich wrote:
>>>> On 12.11.14 at 16:25, <david.vrabel@xxxxxxxxxx> wrote:
>> --- a/arch/x86/include/asm/device.h
>> +++ b/arch/x86/include/asm/device.h
>> @@ -13,4 +13,6 @@ struct dev_archdata {
>> struct pdev_archdata {
>> };
>>
>> +#define ARCH_HAS_DMA_GET_REQUIRED_MASK
>
> Is there a particular reason you put this here rather than in
> dma-mapping.h?
I was because asm/dma-mapping is included too late for it to work, but
looking at the current code it looks like it ought to work.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/