[PATCH 7 of 7] [x86-64] Calgary IOMMU: save a bit of space in bus_info

Muli Ben-Yehuda
2006-07-25T16:57:33Z

1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86_64/kernel/pci-calgary.c | 2 +-

# HG changeset patch
# User Muli Ben-Yehuda <muli@il.ibm.com>
# Date 1153781666 -10800
# Node ID 8f45fff682d3bf9aea2328b1ded97745285be538
# Parent 529b8e81c7603717ddd3782899d3b0159d225b5b
[x86-64] 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>

diff -r 529b8e81c760 -r 8f45fff682d3 arch/x86_64/kernel/pci-calgary.c
--- a/arch/x86_64/kernel/pci-calgary.c Mon Jul 24 13:50:18 2006 +0300
+++ b/arch/x86_64/kernel/pci-calgary.c Tue Jul 25 01:54:26 2006 +0300
@@ -117,7 +117,7 @@ static int calgary_detected __read_mostl

struct calgary_bus_info {
void *tce_space;
- int translation_disabled;
+ unsigned char translation_disabled;
signed char phbid;
};