search for: acpi_ioapic_unit

Displaying 1 result from an estimated 1 matches for "acpi_ioapic_unit".

2012 Nov 28
2
[PATCH] VT-d: make scope parsing code type safe
...nit scope_device_count(con static int __init acpi_parse_dev_scope( - const void *start, const void *end, void *acpi_entry, int type, u16 seg) + const void *start, const void *end, struct dmar_scope *scope, + int type, u16 seg) { - struct dmar_scope *scope = acpi_entry; struct acpi_ioapic_unit *acpi_ioapic_unit; const struct acpi_dmar_device_scope *acpi_scope; u16 bus, sub_bus, sec_bus; const struct acpi_dmar_pci_path *path; + struct acpi_drhd_unit *drhd = type == DMAR_TYPE ? + container_of(scope, struct acpi_drhd_unit, scope) : NULL; int depth, cnt, didx =...