Messages in this thread Patch in this message | | | From | Joerg Roedel <> | Subject | [PATCH 15/16] AMD IOMMU: fix device table entry size | Date | Fri, 11 Jul 2008 17:14:34 +0200 |
| |
A device table entry is actually only 256 *bits* large. Not 256 bytes.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- include/asm-x86/amd_iommu_types.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-x86/amd_iommu_types.h b/include/asm-x86/amd_iommu_types.h index 14aaffe..2e8601b 100644 --- a/include/asm-x86/amd_iommu_types.h +++ b/include/asm-x86/amd_iommu_types.h @@ -27,7 +27,7 @@ /* * some size calculation constants */ -#define DEV_TABLE_ENTRY_SIZE 256 +#define DEV_TABLE_ENTRY_SIZE 32 #define ALIAS_TABLE_ENTRY_SIZE 2 #define RLOOKUP_TABLE_ENTRY_SIZE (sizeof(void *)) -- 1.5.3.7
| |