Re: [PATCH] lib/libcrc32c, revised 040419

From: David S. Miller
Date: Fri Apr 23 2004 - 18:44:14 EST


On Mon, 19 Apr 2004 16:37:01 -0500
Clay Haapala <chaapala@xxxxxxxxx> wrote:

> +#if __GNUC__ >= 3 /* 2.x has "attribute", but only 3.0 has "pure */
> +#define attribute(x) __attribute__(x)
> +#else
> +#define attribute(x)
> +#endif

I was about to apply your two patches, but then I noticed this
thing. WHatever you may need this for exists in linux/compiler.h
and if it doesn't you should add the necessary macro interfaces
there.

Thanks.
-
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/