> +static void ir_remove_ioapic_hpet_scope(struct intel_iommu *iommu)
> +{
> +     int i;
>  
> -                     ir_parse_one_hpet_scope(scope, iommu);
> -             }
> -             start += scope->length;
> -     }
> +     for (i = 0; i < MAX_HPET_TBS; i++)
> +             if (ir_hpet[i].iommu == iommu)
> +                     ir_hpet[i].iommu = NULL;

Hi Gerry, why not reset whole ir_hpe and ir_ioapic data struct?



>  
> -     return 0;
> +     for (i = 0; i < MAX_IO_APICS; i++)
> +             if (ir_ioapic[i].iommu == iommu)
> +                     ir_ioapic[i].iommu = NULL;
>  }
>  

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to