Browse Source

[PATCH] Calgary IOMMU: save a bit of space in bus_info

Make translation_disabled a uchar rather than an int

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>
Muli Ben-Yehuda 18 years ago
parent
commit
0577f148b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86_64/kernel/pci-calgary.c

+ 1 - 1
arch/x86_64/kernel/pci-calgary.c

@@ -117,7 +117,7 @@ static int calgary_detected __read_mostly = 0;
 
 struct calgary_bus_info {
 	void *tce_space;
-	int translation_disabled;
+	unsigned char translation_disabled;
 	signed char phbid;
 };