diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-23 17:32:38 (GMT) |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-27 13:16:29 (GMT) |
commit | 318afd41d2eca3224de3fd85a3b9a27a3010a98d (patch) | |
tree | 83434f1a39ee76536b4a987a25f4ff1153c41438 /arch/x86/include | |
parent | 09b4280439ef6fdc55f1353a9135034336eb5d26 (diff) | |
download | linux-fsl-qoriq-318afd41d2eca3224de3fd85a3b9a27a3010a98d.tar.xz |
x86/amd-iommu: Make np-cache a global flag
The non-present cache flag was IOMMU local until now which
doesn't make sense. Make this a global flag so we can remove
the lase user of 'struct iommu' in the map/unmap path.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index b332b7f..4899f78 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h @@ -211,6 +211,9 @@ extern bool amd_iommu_dump; printk(KERN_INFO "AMD-Vi: " format, ## arg); \ } while(0); +/* global flag if IOMMUs cache non-present entries */ +extern bool amd_iommu_np_cache; + /* * Make iterating over all IOMMUs easier */ |