summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuli Ben-Yehuda <muli@il.ibm.com>2006-09-26 10:52:31 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:31 +0200
commit0577f148b5e9a773020e3da1e6332a7c6df9d601 (patch)
treeb425365c016666166de6949cb6032ad35e830b82
parenta4fc520a0ff92810eea46d74bf742ef73849302e (diff)
downloadblackbird-op-linux-0577f148b5e9a773020e3da1e6332a7c6df9d601.tar.gz
blackbird-op-linux-0577f148b5e9a773020e3da1e6332a7c6df9d601.zip
[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>
-rw-r--r--arch/x86_64/kernel/pci-calgary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c
index f541fb564d92..caf84e4e4ca9 100644
--- a/arch/x86_64/kernel/pci-calgary.c
+++ b/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;
};
OpenPOWER on IntegriCloud