Skip to content

Commit

Permalink
intel-iommu: fix bit shift at DOMAIN_FLAG_P2P_MULTIPLE_DEVICES
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Day <ncmike@ncultra.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Mike Day authored and Joerg Roedel committed Jan 3, 2009
1 parent e4754c9 commit cdc7b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static inline bool dma_pte_present(struct dma_pte *pte)
}

/* devices under the same p2p bridge are owned in one domain */
#define DOMAIN_FLAG_P2P_MULTIPLE_DEVICES (1 < 0)
#define DOMAIN_FLAG_P2P_MULTIPLE_DEVICES (1 << 0)

/* domain represents a virtual machine, more than one devices
* across iommus may be owned in one domain, e.g. kvm guest.
Expand Down

0 comments on commit cdc7b83

Please sign in to comment.