ia64/xen-unstable

changeset 9974:423bee635129

[IA64] linux: remove alloc_empty_foreign_map_page()

alloc_empty_foreign_map_page() in xenia64_init.c isn't used with
CONFIG_XEN_IA64_DOM0_VP enabled.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Tue May 09 11:40:00 2006 -0600 (2006-05-09)
parents 7296d8fb07ff
children e502007031f4
files linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c	Tue May 09 11:38:35 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c	Tue May 09 11:40:00 2006 -0600
     1.3 @@ -35,6 +35,7 @@ int xen_init(void)
     1.4  	return 0;
     1.5  }
     1.6  
     1.7 +#ifndef CONFIG_XEN_IA64_DOM0_VP
     1.8  /* We just need a range of legal va here, though finally identity
     1.9   * mapped one is instead used for gnttab mapping.
    1.10   */
    1.11 @@ -47,6 +48,7 @@ unsigned long alloc_empty_foreign_map_pa
    1.12  
    1.13  	return (unsigned long)vma->addr;
    1.14  }
    1.15 +#endif
    1.16  
    1.17  #if 0
    1.18  /* These should be define'd but some drivers use them without