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>
This commit is contained in:
parent
e4754c96cf
commit
cdc7b83726
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue