Re: [PATCH] spinlock.h cleanup

David S. Miller (davem@redhat.com)
Mon, 29 Jul 2002 19:19:31 -0700 (PDT)


From: Robert Love <rml@tech9.net>
Date: 29 Jul 2002 17:33:39 -0700

On Mon, 2002-07-29 at 17:30, Robert Love wrote:

> On Mon, 2002-07-29 at 17:26, Linus Torvalds wrote:
>
> > Hmm.. Why did you remove the gcc workaround? Are all gcc's > 2.95 known to
> > be ok wrt empty initializers?
>
> If I recall correctly, the fix was for older egcs compilers.

To better answer your question, I just checked and indeed it seems all
gcc's >= 2.95 are OK.

Some platforms (sparc64) are still using things like egcs-2.92.x
vintage compilers as their main supported kernel build compiler.

init/main.c allows 2.91 or greater to pass so that should be the rule
enforced kernel wide.

I don't remember when the empty initializer thing was fixed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/