diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-15 10:53:51 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-09-28 11:30:03 -0400 |
commit | 05152a0494449f60031da683e6d4cd60d0882214 (patch) | |
tree | 610e4df7df61da02c2cc3ccc24aeb38896f7509e /drivers/iommu/irq_remapping.h | |
parent | 6efed63bec36e260204a50cfe6878cd36b710ade (diff) |
iommu/amd: Add slab-cache for irq remapping tables
The irq remapping tables for the AMD IOMMU need to be
aligned on a 128 byte boundary. Create a seperate slab-cache
to guarantee this alignment.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/irq_remapping.h')
-rw-r--r-- | drivers/iommu/irq_remapping.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iommu/irq_remapping.h b/drivers/iommu/irq_remapping.h index b12974cc1dfe..624d360d9be4 100644 --- a/drivers/iommu/irq_remapping.h +++ b/drivers/iommu/irq_remapping.h | |||
@@ -83,6 +83,11 @@ struct irq_remap_ops { | |||
83 | 83 | ||
84 | extern struct irq_remap_ops intel_irq_remap_ops; | 84 | extern struct irq_remap_ops intel_irq_remap_ops; |
85 | 85 | ||
86 | #else /* CONFIG_IRQ_REMAP */ | ||
87 | |||
88 | #define irq_remapping_enabled 0 | ||
89 | #define disable_irq_remap 1 | ||
90 | |||
86 | #endif /* CONFIG_IRQ_REMAP */ | 91 | #endif /* CONFIG_IRQ_REMAP */ |
87 | 92 | ||
88 | #endif /* __IRQ_REMAPPING_H */ | 93 | #endif /* __IRQ_REMAPPING_H */ |