# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1188871123 -32400
# Node ID 8b1b6159b7e6f151e647e3bcf211139a1ebb4dd3
# Parent  4c020dd76b18fae1a69dfb628c22ff3e435d59ab
Fix unmodified drivers. xcom_mini.c is integrated into xcom_hcall.c
so that platform-pci needs it.
PATCHNAME: fix_unmodified_drivers

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 4c020dd76b18 -r 8b1b6159b7e6 unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree	Tue Sep 11 15:20:18 2007 -0600
+++ b/unmodified_drivers/linux-2.6/mkbuildtree	Tue Sep 04 10:58:43 2007 +0900
@@ -71,6 +71,7 @@ i[34567]86)
     mkdir -p include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xcom_hcall.h include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xencomm.h include/asm/xen
+    ln -sf ${XL}/arch/ia64/xen/xcom_hcall.c platform-pci/
     ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci/xencomm_arch.c
     ln -sf ${XL}/drivers/xen/core/xencomm.c platform-pci
   ;;
diff -r 4c020dd76b18 -r 8b1b6159b7e6 unmodified_drivers/linux-2.6/platform-pci/Kbuild
--- a/unmodified_drivers/linux-2.6/platform-pci/Kbuild	Tue Sep 11 15:20:18 2007 -0600
+++ b/unmodified_drivers/linux-2.6/platform-pci/Kbuild	Tue Sep 04 10:58:43 2007 +0900
@@ -17,5 +17,5 @@ xen-platform-pci-objs += ../xenbus/xen_p
 
 # Can we do better ?
 ifeq ($(ARCH),ia64)
-  xen-platform-pci-objs += xencomm.o xencomm_arch.o
+  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o
 endif