On Tue, 15 May 2007 17:14:47 -0700 (PDT) David Miller <davem@xxxxxxxxxxxxx> wrote: > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Date: Tue, 15 May 2007 16:56:36 -0700 > > > On Tue, 15 May 2007 16:45:22 -0700 (PDT) > > Christoph Lameter <clameter@xxxxxxx> wrote: > > > > > KMALLOC_SHIFT_HIGH is not a constant but may be less than 25. > > > > It darn well better be a compile-time constant. > > Try to define a compile-time array size with it smarty > pants :-) confusedy pants, more like. > That's what we did initially and it doesn't work. This: struct kmem_cache kmalloc_caches[KMALLOC_SHIFT_HIGH + 1] __cacheline_aligned; is still there. - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html