| To: | David Daney <ddaney@caviumnetworks.com> |
|---|---|
| Subject: | Re: [PATCH 6/9] swiotlb: Declare swiotlb_init_with_default_size() |
| From: | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> |
| Date: | Mon, 27 Sep 2010 12:53:40 -0400 |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>, FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>, Ingo Molnar <mingo@elte.hu>, Andre Goddard Rosa <andre.goddard@gmail.com> |
| In-reply-to: | <1285282051-24907-1-git-send-email-ddaney@caviumnetworks.com> |
| References: | <1285281496-24696-1-git-send-email-ddaney@caviumnetworks.com> <1285282051-24907-1-git-send-email-ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
On Thu, Sep 23, 2010 at 03:47:30PM -0700, David Daney wrote: > It comes from swiotlb.c and must be called by external code, so declare it. > > Signed-off-by: David Daney <ddaney@caviumnetworks.com> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > Cc: Ingo Molnar <mingo@elte.hu> > Cc: Andre Goddard Rosa <andre.goddard@gmail.com> > --- > include/linux/swiotlb.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h > index 8c0e349..dba51fe 100644 > --- a/include/linux/swiotlb.h > +++ b/include/linux/swiotlb.h > @@ -23,6 +23,7 @@ extern int swiotlb_force; > #define IO_TLB_SHIFT 11 > > extern void swiotlb_init(int verbose); > +extern void swiotlb_init_with_default_size(size_t, int); > extern void swiotlb_init_with_tbl(char *tlb, unsigned long nslabs, int > verbose); Just use the swiotlb_init_with_tbl. If you need an example of how it is utilized, take a look at how swiotlb-xen.c does it. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Does Linux MIPS use scratch pad ram?, Ardelean, Andrei |
|---|---|
| Next by Date: | Re: [PATCH 5/9] MIPS: Convert DMA to use dma-mapping-common.h, David Daney |
| Previous by Thread: | [PATCH 6/9] swiotlb: Declare swiotlb_init_with_default_size(), David Daney |
| Next by Thread: | [PATCH 7/9] swiotlb: Make bounce buffer bounds non-static., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |