Re: [PATCH 1/5] AMD Geode GX/LX support V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-10-05 at 10:54 -0600, Jordan Crouse wrote:
> +/* This function handles National Semiconductor branded processors */
> +
> +static void __init init_nsc(struct cpuinfo_x86 *c)
> +{
> +       int r;
> +
> +       /* There may be GX1 processors in the wild that are branded
> +        * NSC and not Cyrix.
> +        *
> +        * This function only handles the GX processor, and kicks
> every
> +        * thing else to the Cyrix init function above - that should
> +        * cover any processors that might have been branded
> differently
> +        * after NSC aquired Cyrix.
> +        *
> +        * If this breaks your GX1 horribly, please e-mail
> +        * [email protected] to tell us.
> +        */
> +
> +       /* Handle the GX (Formally known as the GX2) */
> +
> +       if ((c->x86 == 5) && (c->x86_model == 5)) {
> +               r = get_model_name(c);
> +               display_cacheinfo(c);
> +       }
> +       else
> +               init_cyrix(c);
> +}

CodingStyle.  Please keep the bracket and the else on the same line:

        if {
        	foo();
        } else
        	bar();
        
-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux