Explorar o código

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>
Joerg Roedel %!s(int64=17) %!d(string=hai) anos
pai
achega
83f5aac18c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/asm-x86/amd_iommu_types.h

+ 1 - 1
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 *))