summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-10-20 17:33:40 +0200
committerJoerg Roedel <jroedel@suse.de>2015-10-21 11:30:32 +0200
commitca9cab3a5a9ea2ff03d761494b002897e2e3c4b5 (patch)
treea92e77c0402540a57775e26a85e6873386d69f2f /drivers/iommu
parent61289cbaf6c854a493ad0fa405c3dd39e7a384f3 (diff)
downloadlinux-stable-ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5.tar.gz
linux-stable-ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5.tar.bz2
linux-stable-ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5.zip
iommu/amd: Align DTE flag definitions
No functional change. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h
index f65908841be0..3026b3448b98 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -295,8 +295,8 @@
#define IOMMU_PTE_IR (1ULL << 61)
#define IOMMU_PTE_IW (1ULL << 62)
-#define DTE_FLAG_IOTLB (0x01UL << 32)
-#define DTE_FLAG_GV (0x01ULL << 55)
+#define DTE_FLAG_IOTLB (1ULL << 32)
+#define DTE_FLAG_GV (1ULL << 55)
#define DTE_GLX_SHIFT (56)
#define DTE_GLX_MASK (3)