2010-08-02 14:48:13

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -next] swiotlb: make io_tlb_overflow static

We don't need to export io_tlb_overflow_buffer. I'll remove
io_tlb_overflow_buffer completely in the long term though.

This can be applied to:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6.git

=
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] swiotlb: make io_tlb_overflow static

Signed-off-by: FUJITA Tomonori <[email protected]>
---
lib/swiotlb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index a009055..72c382c 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -78,7 +78,7 @@ static unsigned long io_tlb_nslabs;
*/
static unsigned long io_tlb_overflow = 32*1024;

-void *io_tlb_overflow_buffer;
+static void *io_tlb_overflow_buffer;

/*
* This is a free list describing the number of free entries available from
--
1.6.5


2010-08-02 15:53:28

by Konrad Rzeszutek Wilk

[permalink] [raw]
Subject: Re: [PATCH -next] swiotlb: make io_tlb_overflow static

On Mon, Aug 02, 2010 at 11:48:06PM +0900, FUJITA Tomonori wrote:
> We don't need to export io_tlb_overflow_buffer. I'll remove
> io_tlb_overflow_buffer completely in the long term though.

<nods>

> This can be applied to:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6.git
>
> =
> From: FUJITA Tomonori <[email protected]>
> Subject: [PATCH] swiotlb: make io_tlb_overflow static
>
> Signed-off-by: FUJITA Tomonori <[email protected]>

Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>

I've stuck it in a new branch (devel/swiotlb-0.9).

> ---
> lib/swiotlb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/swiotlb.c b/lib/swiotlb.c
> index a009055..72c382c 100644
> --- a/lib/swiotlb.c
> +++ b/lib/swiotlb.c
> @@ -78,7 +78,7 @@ static unsigned long io_tlb_nslabs;
> */
> static unsigned long io_tlb_overflow = 32*1024;
>
> -void *io_tlb_overflow_buffer;
> +static void *io_tlb_overflow_buffer;
>
> /*
> * This is a free list describing the number of free entries available from
> --
> 1.6.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/