RE: [patch] per cpu MCA/INIT fixes.

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-01-08 05:56:00
>+               mca_data = __alloc_bootmem(PERCPU_MCA_SIZE * NR_CPUS,
>+                                          PERCPU_MCA_SIZE, __pa(MAX_DMA_ADDRESS));
>
>PERCPU_MCA_SIZE doesn't look likely to be a power of two, so using it
>as the 'align' argument to __alloc_bootmem trips the BUG at mm/bootmem.c:158

I just switched the allocation to use alloc_bootmem() which uses the default
cache line alignment, which appears to be plenty here.

-Tony

-
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 Fri Jan 7 13:56:39 2005

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