ia64/xen-unstable

view unmodified_drivers/linux-2.6/platform-pci/Kbuild @ 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 ea0b57e35c2c
children 9e9ba5185ef1
line source
1 include $(M)/overrides.mk
3 obj-m := xen-platform-pci.o
5 EXTRA_CFLAGS += -I$(M)/platform-pci
7 xen-platform-pci-objs := evtchn.o platform-pci.o gnttab.o xen_support.o
8 xen-platform-pci-objs += features.o platform-compat.o
9 xen-platform-pci-objs += reboot.o machine_reboot.o
11 xen-platform-pci-objs += ../xenbus/xenbus_comms.o
12 xen-platform-pci-objs += ../xenbus/xenbus_xs.o
13 xen-platform-pci-objs += ../xenbus/xenbus_probe.o
14 xen-platform-pci-objs += ../xenbus/xenbus_dev.o
15 xen-platform-pci-objs += ../xenbus/xenbus_client.o
16 xen-platform-pci-objs += ../xenbus/xen_proc.o
18 # Can we do better ?
19 ifeq ($(ARCH),ia64)
20 xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o xcom_asm.o
21 endif