pv-on-hvm: fixes for unmodified drivers build and modern Linux
authorKeir Fraser <keir@xensource.com>
Thu, 25 Oct 2007 14:54:19 +0000 (15:54 +0100)
committerKeir Fraser <keir@xensource.com>
Thu, 25 Oct 2007 14:54:19 +0000 (15:54 +0100)
commitbb59a254afbc5cef94d6b02d707bcf6906c59b05
tree53eff041b7618d55a72637a8c1c67277a680ddb4
parent80273cb18f581206d41a47f011e85d7badee02dc
pv-on-hvm: fixes for unmodified drivers build and modern Linux

- The adjustments to README and overrides.mk are generic.
- The removal of explicit linux/config.h inclusion should also not
  cause any issues.
- The introduction of irq_handler_t should eliminiate warnings on
  2.6.19+ kernels (I didn't check they're there, but since the
  request_irq prototype changed, I'm sure there's at least
  one. However, as a result changes to the Linux tree are expected to
  be required.
- The change setup_xen_features -> xen_setup_features follows the
  naming in mainline 2.6.23 but would apparently also require changes
  to the Linux tree.
- The changes SA_* -> IRQF_ and  pci_module_init ->
  pci_register_driver should also not cause issues.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
unmodified_drivers/linux-2.6/README
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
unmodified_drivers/linux-2.6/overrides.mk
unmodified_drivers/linux-2.6/platform-pci/evtchn.c
unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c