Re: [patch] x86, mm: Clean up initmem_init

From: Yinghai Lu
Date: Thu Mar 03 2011 - 17:03:53 EST


On 03/03/2011 02:00 PM, David Rientjes wrote:

he want

> +#ifdef CONFIG_ACPI_NUMA
>> > + ret = numa_init(x86_acpi_numa_init);
>> > + if (!ret)
>> > + return;
>> > +#endif
>> > +#ifdef CONFIG_AMD_NUMA
>> > + ret = numa_init(amd_numa_init);
>> > + if (!ret)
>> > + return;
>> > +#endif

to be replaced by:

> +#ifdef CONFIG_ACPI_NUMA
>> > + if (!numa_init(x86_acpi_numa_init))
>> > + return;
>> > +#endif
>> > +#ifdef CONFIG_AMD_NUMA
>> > + if (!numa_init(amd_numa_init))
>> > + return;
>> > +#endif

--
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/