aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMuli Ben-Yehuda <muli@il.ibm.com>2006-09-26 04:52:31 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:31 -0400
commit5f4a7a93886ce1a4327f6028cc05d423f39eebf0 (patch)
tree0c1ecfe880ce775fadce814f024412adc7196511 /include
parent352f7bae81faa2befa2a3c02b84478dce16b8fd6 (diff)
[PATCH] Calgary IOMMU: rearrange 'struct iommu_table' members
Rearrange struct members loosely based on size for improved alignment and to save a few bytes. Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Jon Mason <jdmason@us.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/calgary.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86_64/calgary.h b/include/asm-x86_64/calgary.h
index 4e3919524240..0a03bda94d03 100644
--- a/include/asm-x86_64/calgary.h
+++ b/include/asm-x86_64/calgary.h
@@ -34,12 +34,12 @@ struct iommu_table {
34 unsigned long it_base; /* mapped address of tce table */ 34 unsigned long it_base; /* mapped address of tce table */
35 unsigned long it_hint; /* Hint for next alloc */ 35 unsigned long it_hint; /* Hint for next alloc */
36 unsigned long *it_map; /* A simple allocation bitmap for now */ 36 unsigned long *it_map; /* A simple allocation bitmap for now */
37 void __iomem *bbar; /* Bridge BAR */
38 u64 tar_val; /* Table Address Register */
39 struct timer_list watchdog_timer;
37 spinlock_t it_lock; /* Protects it_map */ 40 spinlock_t it_lock; /* Protects it_map */
38 unsigned int it_size; /* Size of iommu table in entries */ 41 unsigned int it_size; /* Size of iommu table in entries */
39 unsigned char it_busno; /* Bus number this table belongs to */ 42 unsigned char it_busno; /* Bus number this table belongs to */
40 void __iomem *bbar;
41 u64 tar_val;
42 struct timer_list watchdog_timer;
43}; 43};
44 44
45#define TCE_TABLE_SIZE_UNSPECIFIED ~0 45#define TCE_TABLE_SIZE_UNSPECIFIED ~0