Re: [PATCH][RFC] PentiumPro/II split in x86 config

From: Keith Owens (kaos@ocs.com.au)
Date: Mon May 27 2002 - 21:05:54 EST


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,

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



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:21 EST