[PATCH 02/10] ARM: add dma_zone_size to the machine_desc structure
Nicolas Pitre
nicolas.pitre at linaro.org
Wed Jul 6 22:59:39 EDT 2011
On Thu, 7 Jul 2011, Russell King - ARM Linux wrote:
> 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.
Oops, sure. That's what might happens when your "screen" is effectively
a unidimensional 40x1 character display. Fixed.
Nicolas
More information about the linux-arm-kernel
mailing list