[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [IA64] linux: remove alloc_empty_foreign_map_page()



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 423bee6351299bfda90781cc018f5d21c16ff0ed
# Parent  7296d8fb07ff4f8f9d16078c7494997f03864737
[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@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 7296d8fb07ff -r 423bee635129 
linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c Tue May 09 
11:38:35 2006 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/xenia64_init.c Tue May 09 
11:40:00 2006 -0600
@@ -35,6 +35,7 @@ int xen_init(void)
        return 0;
 }
 
+#ifndef CONFIG_XEN_IA64_DOM0_VP
 /* We just need a range of legal va here, though finally identity
  * mapped one is instead used for gnttab mapping.
  */
@@ -47,6 +48,7 @@ unsigned long alloc_empty_foreign_map_pa
 
        return (unsigned long)vma->addr;
 }
+#endif
 
 #if 0
 /* These should be define'd but some drivers use them without

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.