Re: [PATCH 11/14] x86, acpi, numa: split SLIT handling out

From: Tejun Heo
Date: Fri Mar 08 2013 - 01:46:52 EST


On Thu, Mar 07, 2013 at 08:58:37PM -0800, Yinghai Lu wrote:
> +void __init acpi_numa_init_only_slit(void)
> +{
> + /* SLIT: System Locality Information Table */
> + acpi_table_parse(ACPI_SIG_SLIT, acpi_parse_slit);
> +}
> +
> +static int __init __acpi_numa_init(bool with_slit)
> {
> int cnt = 0;

Hmmm.... how about just having the following two functions

acpi_numa_init_srat();
acpi_numa_init_slit();

and update both x86 and ia64 to use the two functions?

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