PCI: add xen dom0 checking before ACS initialization
authorAllen Kay <allen.m.kay@intel.com>
Wed, 7 Oct 2009 17:27:51 +0000 (10:27 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 4 Nov 2009 16:47:26 +0000 (08:47 -0800)
commitdf0e97c6f1f2fdca686036998fe816cefd8e27d7
tree8cef3a9d3dc141b804507fd8eed195ff8196a7c8
parentae21ee65e8bc228416bbcc8a1da01c56a847a60c
PCI: add xen dom0 checking before ACS initialization

This patch is predicated on Jeremy's patch in include/xen/xen.h.  It'll
prevent ACS init unless the platform has both an IOMMU and we're running
as dom0.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c