|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] Re: [PATCH 4/7] swiotlb: Expose swiotlb_nr_tlb function to m
 
| 
To:  | 
konrad.wilk@xxxxxxxxxx | 
 
| 
Subject:  | 
[Xen-devel] Re: [PATCH 4/7] swiotlb: Expose swiotlb_nr_tlb function to modules as swiotlb_enabled | 
 
| 
From:  | 
FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> | 
 
| 
Date:  | 
Sat, 17 Sep 2011 04:05:58 +0900 | 
 
| 
Cc:  | 
thellstrom@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, thomas@xxxxxxxxxxxx,	airlied@xxxxxxxx, pq@xxxxxx, linux-kernel@xxxxxxxxxxxxxxx,	dri-devel@xxxxxxxxxxxxxxxxxxxxx, fujita.tomonori@xxxxxxxxxxxxx,	bskeggs@xxxxxxxxxx, alexdeucher@xxxxxxxxx, airlied@xxxxxxxxxx,	j.glisse@xxxxxxxxxx | 
 
| 
Delivery-date:  | 
Fri, 16 Sep 2011 12:07:52 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<1315923170-25568-5-git-send-email-konrad.wilk@xxxxxxxxxx> | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
References:  | 
<1315923170-25568-1-git-send-email-konrad.wilk@xxxxxxxxxx>	<1315923170-25568-5-git-send-email-konrad.wilk@xxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
 
 
On Tue, 13 Sep 2011 10:12:47 -0400
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
> As a mechanism to detect whether SWIOTLB is enabled or not.
> And as such, we might as well wrap it within an 'swiotlb_enabled()'
> function that will call the swiotlb_nr_tlb.
> 
> We also fix the spelling - it was swioltb instead of
> swiotlb.
> 
> CC: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> ---
>  drivers/xen/swiotlb-xen.c |    2 +-
>  include/linux/swiotlb.h   |    7 ++++++-
>  lib/swiotlb.c             |    5 +++--
>  3 files changed, 10 insertions(+), 4 deletions(-)
Can we just use swiotlb_nr_tbl() rather than inventing a new function
that only wraps swiotlb_nr_tbl()?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |