diff options
author | Mike Day <ncmike@ncultra.org> | 2008-12-12 11:16:30 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-03 08:11:08 -0500 |
commit | cdc7b83726297b43deed0455d8732163cc59802a (patch) | |
tree | e2c6d99b3155280356bdc63cd6ec498c8bc772c8 /drivers/pci/intel-iommu.c | |
parent | e4754c96cf8b82a754dc5ba791d6c0bf1fbe8e8e (diff) |
intel-iommu: fix bit shift at DOMAIN_FLAG_P2P_MULTIPLE_DEVICES
Signed-off-by: Mike Day <ncmike@ncultra.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r-- | drivers/pci/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index ecb5fd3b71f7..235fb7a5a8a5 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -205,7 +205,7 @@ static inline bool dma_pte_present(struct dma_pte *pte) | |||
205 | } | 205 | } |
206 | 206 | ||
207 | /* devices under the same p2p bridge are owned in one domain */ | 207 | /* devices under the same p2p bridge are owned in one domain */ |
208 | #define DOMAIN_FLAG_P2P_MULTIPLE_DEVICES (1 < 0) | 208 | #define DOMAIN_FLAG_P2P_MULTIPLE_DEVICES (1 << 0) |
209 | 209 | ||
210 | /* domain represents a virtual machine, more than one devices | 210 | /* domain represents a virtual machine, more than one devices |
211 | * across iommus may be owned in one domain, e.g. kvm guest. | 211 | * across iommus may be owned in one domain, e.g. kvm guest. |