summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorFrank Arnold2012-08-27 19:21:04 +0200
committerJoerg Roedel2012-09-18 12:33:22 +0200
commitdf805abb28fa49514ab8e231d4be3d30a76a32fb (patch)
tree2dafc591fdd5591978db52badf2c43dea8713852 /drivers/iommu/amd_iommu_types.h
parentiommu/amd: remove duplicated include from amd_iommu_init.c (diff)
downloadkernel-qcow2-linux-df805abb28fa49514ab8e231d4be3d30a76a32fb.tar.gz
kernel-qcow2-linux-df805abb28fa49514ab8e231d4be3d30a76a32fb.tar.xz
kernel-qcow2-linux-df805abb28fa49514ab8e231d4be3d30a76a32fb.zip
iommu/amd: Fix some typos
Fix some typos in comments and user-visible messages. No functional changes. Signed-off-by: Frank Arnold <frank.arnold@amd.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
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 d0dab865a8b8..d1390b82b194 100644
--- a/drivers/iommu/amd_iommu_types.h
+++ b/drivers/iommu/amd_iommu_types.h
@@ -255,7 +255,7 @@
#define PAGE_SIZE_ALIGN(address, pagesize) \
((address) & ~((pagesize) - 1))
/*
- * Creates an IOMMU PTE for an address an a given pagesize
+ * Creates an IOMMU PTE for an address and a given pagesize
* The PTE has no permission bits set
* Pagesize is expected to be a power-of-two larger than 4096
*/
@@ -404,7 +404,7 @@ struct iommu_dev_data {
struct list_head dev_data_list; /* For global dev_data_list */
struct iommu_dev_data *alias_data;/* The alias dev_data */
struct protection_domain *domain; /* Domain the device is bound to */
- atomic_t bind; /* Domain attach reverent count */
+ atomic_t bind; /* Domain attach reference count */
u16 devid; /* PCI Device ID */
bool iommu_v2; /* Device can make use of IOMMUv2 */
bool passthrough; /* Default for device is pt_domain */