ia64/xen-unstable

changeset 16979:c98276a51ff8

[IA64] Add xencomm_arch_hypercall_suspend to fix module load

Make use of split out xencomm_arch_hypercall_suspend to fix the following
module load error:

Loading xen-platform-pci.ko module
xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
insmod: error inserting '/lib/xen-platform-pci.ko':
-1 Unknown symbol in module
ERROR: /bin/insmod exited abnormally! (pid 210)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Mon Feb 04 08:38:35 2008 -0700 (2008-02-04)
parents 0695363214c3
children 28310fefde60
files unmodified_drivers/linux-2.6/mkbuildtree unmodified_drivers/linux-2.6/platform-pci/Kbuild
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/mkbuildtree	Mon Feb 04 08:17:58 2008 -0700
     1.2 +++ b/unmodified_drivers/linux-2.6/mkbuildtree	Mon Feb 04 08:38:35 2008 -0700
     1.3 @@ -77,6 +77,7 @@ i[34567]86|x86_64)
     1.4      ln -sf ${XL}/include/asm-ia64/xen/xcom_hcall.h include/asm/xen
     1.5      ln -sf ${XL}/include/asm-ia64/xen/xencomm.h include/asm/xen
     1.6      ln -sf ${XL}/arch/ia64/xen/xcom_hcall.c platform-pci/
     1.7 +    ln -sf ${XL}/arch/ia64/xen/xcom_asm.S platform-pci/
     1.8      ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci/xencomm_arch.c
     1.9      ln -sf ${XL}/drivers/xen/core/xencomm.c platform-pci
    1.10    ;;
     2.1 --- a/unmodified_drivers/linux-2.6/platform-pci/Kbuild	Mon Feb 04 08:17:58 2008 -0700
     2.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/Kbuild	Mon Feb 04 08:38:35 2008 -0700
     2.3 @@ -17,5 +17,5 @@ xen-platform-pci-objs += ../xenbus/xen_p
     2.4  
     2.5  # Can we do better ?
     2.6  ifeq ($(ARCH),ia64)
     2.7 -  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o
     2.8 +  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o xcom_asm.o
     2.9  endif