]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Calgary IOMMU: consolidate per bus data structures
authorMuli Ben-Yehuda <muli@il.ibm.com>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:31 +0000 (10:52 +0200)
commitf38db651d5da5e10235fd7dd31095969fb7ef6fb
tree4df8d0921b5c4e392adad94eec8407e39e9ffae0
parent5f4a7a93886ce1a4327f6028cc05d423f39eebf0
[PATCH] Calgary IOMMU: consolidate per bus data structures

Move the tce_table_kva array, disabled bitmap and bus_to_phb array
into a new per bus 'struct calgary_bus_info'. Also slightly reorganize
build_tce_table and tce_table_setparms to avoid exporting bus_info to
tce.c.

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>
arch/x86_64/kernel/pci-calgary.c
arch/x86_64/kernel/tce.c
include/asm-x86_64/tce.h