aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_types.h
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/amd_iommu_types.h
parentiommu/amd: Remove old alias handling code (diff)
downloadlinux-dev-ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5.tar.xz
linux-dev-ca9cab3a5a9ea2ff03d761494b002897e2e3c4b5.zip
iommu/amd: Align DTE flag definitions
No functional change. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-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)