| Date | Fri, 4 Jan 2008 10:03:38 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH x86] [7/16] Convert lockdep to use arch_early_alloc() if available for its large arrays |
| |
* Andi Kleen <ak@suse.de> wrote:
> +#ifndef ARCH_HAS_EARLY_ALLOC > +#define LARGEVAR(x,y) { static typeof(*x) __ ## x[y]; x = __ ## x; } > +#else > +#define LARGEVAR(x,y) x = arch_early_alloc(sizeof(*x) * y) > +#endif
your patch makes sense in principle, but please do this via the Kconfig space - we dont introduce new ARCH_HAS flags anymore and try to get rid of the existing ones as well.
Ingo
|