Re: [PATCH][RFC] PentiumPro/II split in x86 config
Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Mon, 27 May 2002 23:16:47 -0300
Em Tue, May 28, 2002 at 12:05:54PM +1000, Keith Owens escreveu:
> On Mon, 27 May 2002 22:29:25 -0300,
> Arnaldo Carvalho de Melo <acme@conectiva.com.br> wrote:
> > Since you're working on this could I suggest that you use labeled
> >elements, this gccism make the initialization above way more cleaner, safer and
> >easy to read :-) This is being used in the kernel in places like the FSes, the
> >TCP/IP stack and lots of other places.
> >+ vendor: X86_VENDOR_INTEL,
> >+ family: 5,
>
> Better still, use the C language standard:
>
> .vendor = X86_VENDOR_INTEL,
> .family = 5,
oops, gcc accepts that, good to know that this is standard C, but for the
kernel, I think that this doesn't matter as gcc is the only compiler that
understands the GCC Language 8) Or am I wrong? I'd love to be... 8)
- Arnaldo
-
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/