Re: [PATCH 0/8] core-small: Introduce CONFIG_CORE_SMALL from -tiny

From: Alan Cox
Date: Mon Jan 24 2005 - 16:17:57 EST


On Sul, 2005-01-23 at 17:52, Matt Mackall wrote:
> > Then you can lose all those ifdefs:
> >
> > #define MAX_PROBE_HASH (255 - CONFIG_CORE_SMALL * 254) /* dorky */
>
> Ew.

#define SIZE_HASH(small, large) CONFIG_CORE_SMALL ? (small):(large)

Perhaps ?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/