From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Nazarewicz Subject: Re: [PATCH 1/4] asm-generic: Add dma-contiguous.h Date: Wed, 16 Jul 2014 18:20:15 +0200 Message-ID: References: <1405525892-60383-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> Sender: linux-kernel-owner@vger.kernel.org To: Zubair Lutfullah Kakakhel , ralf@linux-mips.org, catalin.marinas@arm.com, will.deacon@arm.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, arnd@arndb.de, gregkh@linuxfoundation.org, m.szyprowski@samsung.com Cc: x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org On Wed, Jul 16 2014, Zubair Lutfullah Kakakhel wrote: > This header is used by arm64 and x86 individually. > > Adding to asm-generic to avoid further code repetition while adding c= ma > to mips. > > Signed-off-by: Zubair Lutfullah Kakakhel Acked-by: Michal Nazarewicz > --- > include/asm-generic/dma-contiguous.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 include/asm-generic/dma-contiguous.h > > diff --git a/include/asm-generic/dma-contiguous.h b/include/asm-gener= ic/dma-contiguous.h > new file mode 100644 > index 0000000..292c571 > --- /dev/null > +++ b/include/asm-generic/dma-contiguous.h > @@ -0,0 +1,9 @@ > +#ifndef _ASM_GENERIC_DMA_CONTIGUOUS_H > +#define _ASM_GENERIC_DMA_CONTIGUOUS_H > + > +#include > + > +static inline void > +dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { } > + > +#endif > --=20 > 1.9.1 > --=20 Best regards, _ _ =2Eo. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o =2E.o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarew= icz (o o) ooo +------ooO--(_)--Ooo-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: mina86@mina86.com (Michal Nazarewicz) Date: Wed, 16 Jul 2014 18:20:15 +0200 Subject: [PATCH 1/4] asm-generic: Add dma-contiguous.h In-Reply-To: <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1405525892-60383-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 16 2014, Zubair Lutfullah Kakakhel wrote: > This header is used by arm64 and x86 individually. > > Adding to asm-generic to avoid further code repetition while adding cma > to mips. > > Signed-off-by: Zubair Lutfullah Kakakhel Acked-by: Michal Nazarewicz > --- > include/asm-generic/dma-contiguous.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 include/asm-generic/dma-contiguous.h > > diff --git a/include/asm-generic/dma-contiguous.h b/include/asm-generic/dma-contiguous.h > new file mode 100644 > index 0000000..292c571 > --- /dev/null > +++ b/include/asm-generic/dma-contiguous.h > @@ -0,0 +1,9 @@ > +#ifndef _ASM_GENERIC_DMA_CONTIGUOUS_H > +#define _ASM_GENERIC_DMA_CONTIGUOUS_H > + > +#include > + > +static inline void > +dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { } > + > +#endif > -- > 1.9.1 > -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Micha? ?mina86? Nazarewicz (o o) ooo +------ooO--(_)--Ooo--