diff options
author | Alexey Skidanov <Alexey.Skidanov@amd.com> | 2014-07-08 17:30:17 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-09 16:02:41 +0200 |
commit | 51499aa912e0d6f5b3497e2b1121309f579e78ed (patch) | |
tree | 66d29ff2d54582357663322f38ed2df7ae6f9be4 /drivers/iommu | |
parent | b00675b867d5fb59b341395c77d20655f7f2edf7 (diff) | |
download | linux-51499aa912e0d6f5b3497e2b1121309f579e78ed.tar.gz linux-51499aa912e0d6f5b3497e2b1121309f579e78ed.tar.xz |
iommu/amd: Moving PPR fault flags macros definitions
Any kernel source registering the invalid PPR calback may include the header file with PPR fault flags macros definitions.
Thus we move them to include/linux/amd-iommu.h
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index f1a5abf11acf..e5f1cd4728ed 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -390,12 +390,6 @@ struct amd_iommu_fault { }; -#define PPR_FAULT_EXEC (1 << 1) -#define PPR_FAULT_READ (1 << 2) -#define PPR_FAULT_WRITE (1 << 5) -#define PPR_FAULT_USER (1 << 6) -#define PPR_FAULT_RSVD (1 << 7) -#define PPR_FAULT_GN (1 << 8) struct iommu_domain; |