ia64/xen-unstable

changeset 9367:14c26df4f33c

Fix the implicit declaration of function `swiotlb_init' warning, by including
the appropriate headers.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Tue Mar 21 12:21:08 2006 +0100 (2006-03-21)
parents a013fa6ee37c
children 02260f77c035
files linux-2.6-xen-sparse/arch/i386/mm/init-xen.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c	Tue Mar 21 11:56:11 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c	Tue Mar 21 12:21:08 2006 +0100
     1.3 @@ -42,6 +42,11 @@
     1.4  #include <asm/tlbflush.h>
     1.5  #include <asm/sections.h>
     1.6  #include <asm/hypervisor.h>
     1.7 +#if defined(CONFIG_SWIOTLB)
     1.8 +#include <linux/dma-mapping.h>
     1.9 +#include <asm/scatterlist.h>
    1.10 +#include <asm/swiotlb.h>
    1.11 +#endif
    1.12  
    1.13  extern unsigned long *contiguous_bitmap;
    1.14