KUWAMURA Shin''ya
2007-Nov-01 05:38 UTC
[Xen-devel] PV-on-HVM: Define BLOCKING_NOTIFIER_HEAD macro for old Linux kernels.
Hi, This fixes build errors of PV-on-HVM drivers for RHEL4U2: /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/../xenbus/xenbus_probe.c:72: warning: type defaults to `int'' in declaration of `BLOCKING_NOTIFIER_HEAD'' /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/../xenbus/xenbus_probe.c:72: warning: parameter names (without types) in function declaration /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/../xenbus/xenbus_probe.c: In function `register_xenstore_notifier'': /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/../xenbus/xenbus_probe.c:828: warning: implicit declaration of function `blocking_notifier_chain_register'' /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/../xenbus/xenbus_probe.c:828: error: `xenstore_chain'' undeclared (first use in this function) Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com> -- KUWAMURA Shin''ya _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel