Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104323
b: refs/heads/master
c: 2e22847
h: refs/heads/master
i:
  104321: b7010cf
  104319: 3e92157
v: v3
  • Loading branch information
Joerg Roedel authored and Ingo Molnar committed Jul 11, 2008
1 parent 2bca69a commit d11ac51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58a3bee567b588a84cdde05fecc45439b396362c
refs/heads/master: 2e22847fbe05f2543ccebd0c2df94d9cf3c52aa5
8 changes: 2 additions & 6 deletions trunk/arch/x86/kernel/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ static int __initdata amd_iommu_detected;

u16 amd_iommu_last_bdf; /* largest PCI device id we have
to handle */
struct list_head amd_iommu_unity_map; /* a list of required unity mappings
LIST_HEAD(amd_iommu_unity_map); /* a list of required unity mappings
we find in ACPI */
unsigned amd_iommu_aperture_order = 26; /* size of aperture in power of 2 */
int amd_iommu_isolate; /* if 1, device isolation is enabled */

struct list_head amd_iommu_list; /* list of all AMD IOMMUs in the
LIST_HEAD(amd_iommu_list); /* list of all AMD IOMMUs in the
system */

/*
Expand Down Expand Up @@ -673,8 +673,6 @@ static int __init init_iommu_all(struct acpi_table_header *table)
struct amd_iommu *iommu;
int ret;

INIT_LIST_HEAD(&amd_iommu_list);

end += table->length;
p += IVRS_HEADER_LENGTH;

Expand Down Expand Up @@ -780,8 +778,6 @@ static int __init init_memory_definitions(struct acpi_table_header *table)
u8 *p = (u8 *)table, *end = (u8 *)table;
struct ivmd_header *m;

INIT_LIST_HEAD(&amd_iommu_unity_map);

end += table->length;
p += IVRS_HEADER_LENGTH;

Expand Down

0 comments on commit d11ac51

Please sign in to comment.