summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel2008-12-10 19:58:00 +0100
committerJoerg Roedel2009-01-03 14:11:57 +0100
commit0cfd7aa90be83a4d278810d231f9ef03f189b4f0 (patch)
tree28151dc0607770460c563553f89c8c4d58908bd9 /arch/x86/include/asm/amd_iommu_types.h
parentAMD IOMMU: use dev_name instead of self-build print_devid (diff)
downloadkernel-qcow2-linux-0cfd7aa90be83a4d278810d231f9ef03f189b4f0.tar.gz
kernel-qcow2-linux-0cfd7aa90be83a4d278810d231f9ef03f189b4f0.tar.xz
kernel-qcow2-linux-0cfd7aa90be83a4d278810d231f9ef03f189b4f0.zip
AMD IOMMU: convert iommu->need_sync to bool
Impact: use bool instead of int for iommu->need_sync Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include/asm/amd_iommu_types.h')
-rw-r--r--arch/x86/include/asm/amd_iommu_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index ee8cfa00017d..c4b144ece1f8 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -302,7 +302,7 @@ struct amd_iommu {
bool int_enabled;
/* if one, we need to send a completion wait command */
- int need_sync;
+ bool need_sync;
/* default dma_ops domain for that IOMMU */
struct dma_ops_domain *default_dom;