lkml.org 
[lkml]   [2009]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/10] xen/swiotlb: make sure prototypes are in scope for swiotlb functions
    Date
    From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

    This makes sure the functions overriding the lib/swiotlb.c weak functions
    have the right prototype.

    [ Impact: cleanup; better compile checking ]
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    ---
    arch/x86/xen/pci-swiotlb.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/arch/x86/xen/pci-swiotlb.c b/arch/x86/xen/pci-swiotlb.c
    index c2850b3..544c0c0 100644
    --- a/arch/x86/xen/pci-swiotlb.c
    +++ b/arch/x86/xen/pci-swiotlb.c
    @@ -1,5 +1,7 @@
    #include <linux/bootmem.h>
    #include <linux/gfp.h>
    +#include <linux/dma-mapping.h>
    +#include <linux/swiotlb.h>

    #include <xen/swiotlb.h>
    #include <asm/xen/hypervisor.h>
    --
    1.6.0.6


    \
     
     \ /
      Last update: 2009-05-13 05:19    [W:0.025 / U:30.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site