Re: [patch] fix per-CPU MCA mess and make UP kernels work again

From: Jesse Barnes <jbarnes_at_engr.sgi.com>
Date: 2005-01-27 04:53:55
On Wednesday, January 26, 2005 9:48 am, David Mosberger wrote:
> The patch just removes per_cpu_init() in the non-SMP-case.  That would
> have to be changed to be in sync with the contig.c per_cpu_init().

It doesn't totally remove it, I tried to keep the MCA initialization.  
per_cpu_init for discontig is different than contig, since the memory has 
already been allocated.  All we need to do is assign the pointers.

> Perhaps a better solution would be to disassociate the MCA allocations
> from per_cpu_init().  For example, we could have a separate
> alloc_per_cpu_mca_data() in {dis,}contig.c.

That might be clearer.

Jesse
-
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 Jan 26 12:54:52 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:35 EST