Re: [patch] Fix large MCA bootmem allocation

From: Robin Holt <holt_at_sgi.com>
Date: 2008-02-06 12:34:47
On Wed, Feb 06, 2008 at 09:30:17AM +0900, Hidetoshi Seto wrote:
> Russ Anderson wrote:
>> The MCA code allocates bootmem memory for NR_CPUS, regardless
>> of how many cpus the system actually has.
>
> So... how about using num_possible_cpus() instead?

num_possible_cpus() is not initialized until after this code is run for
the first time.

Thanks,
Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Feb 06 12:35:01 2008

This archive was generated by hypermail 2.1.8 : 2008-02-06 12:35:22 EST