diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-07-11 15:14:34 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-11 16:01:17 (GMT) |
commit | 83f5aac18ccd02170f4a61e7289ceabd5101c1a0 (patch) | |
tree | c564631cefb36ccadf56bc79e694dec2b30f7719 | |
parent | 0906372e6cf372f3162481f24a0b8ccae0eff4d7 (diff) | |
download | linux-fsl-qoriq-83f5aac18ccd02170f4a61e7289ceabd5101c1a0.tar.xz |
x86, AMD IOMMU: fix device table entry size
A device table entry is actually only 256 *bits* large. Not 256 bytes.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | 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 *)) |