diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-09-27 16:15:09 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-09-27 16:15:09 +0100 |
commit | 84d9ddb1f26bb983c892d55696441f9bf81f1cd0 (patch) | |
tree | df530ed6bd4b955dd2b70c9ab41418aa9c603b86 /xen/include/asm-x86/amd-iommu.h | |
parent | 47e2593cc8a6f99d4b621228bd847b0b2d7e5cb3 (diff) | |
download | xen-84d9ddb1f26bb983c892d55696441f9bf81f1cd0.tar.gz xen-84d9ddb1f26bb983c892d55696441f9bf81f1cd0.tar.bz2 xen-84d9ddb1f26bb983c892d55696441f9bf81f1cd0.zip |
AMD-IOMMU: fix initialization order (after 23863:9e0259239822)
That original patch caused alloc_ivrs_mappings() to be called too
early, so things get moved back to where they were, just converting
the single call there to a loop over all IOMMUs.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index ea40310c78..5dc97c6766 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -103,7 +103,6 @@ struct ivrs_mappings { extern unsigned short ivrs_bdf_entries; -int alloc_ivrs_mappings(u16 seg); struct ivrs_mappings *get_ivrs_mappings(u16 seg); int iterate_ivrs_mappings(int (*)(u16 seg, struct ivrs_mappings *)); int iterate_ivrs_entries(int (*)(u16 seg, struct ivrs_mappings *)); |