Re: [PATCH] lib/atomic64_test: do not build on non-atomic64 systems

From: Mike Frysinger
Date: Fri Oct 22 2010 - 16:15:19 EST


On Thu, Oct 21, 2010 at 19:24, Andrew Morton wrote:
> On Thu, 21 Oct 2010 19:04:36 -0400 Mike Frysinger wrote:
>> you can say "lazy" all you like. Âi dont see the point in going that route.
>
> Try
>
> Â Â Â Âgrep HAVE arch/x86/Kconfig
>
> If all of those were instead to use some random #define which the
> particular feature happened to define in some header file then we would
> have a mess on our hands.

fun times. new tact.

Luca: your new atomic64_t test build fails on all arches that lack
atomic64_t. please fix.
-mike
--
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/