[PATCH 02/10] ARM: add dma_zone_size to the machine_desc structure

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jul 6 19:10:34 EDT 2011


On Tue, Jul 05, 2011 at 10:30:34PM -0400, Nicolas Pitre wrote:
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>
> ---
>  arch/arm/include/asm/mach/arch.h |    4 ++++
>  arch/arm/kernel/setup.c          |    6 ++++++
>  2 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h
> index 946f4d7..7b79a00 100644
> --- a/arch/arm/include/asm/mach/arch.h
> +++ b/arch/arm/include/asm/mach/arch.h
> @@ -23,6 +23,10 @@ struct machine_desc {
>  
>  	unsigned int		nr_irqs;	/* number of IRQs */
>  
> +#ifdef CONFIG_ZONE_DMA
> +	unsigned long dma_zone_size;		/* size of DMA-able area */

Please try to keep the formatting the same.



More information about the linux-arm-kernel mailing list