Re: [PATCH] x86: add optimisation option for k10 processors

From: Jesper Juhl
Date: Sun Dec 19 2010 - 17:25:35 EST


On Sun, 19 Dec 2010, Benjamin wrote:

> From: Benjamin Fair <masterme120@xxxxxxxxx>
>
> This adds a config option to optimise for AMD family-k10 processors.
>
> Signed-off-by: Benjamin Fair <masterme120@xxxxxxxxx>
>
> diff -uNr linux-2.6.37-rc6.vanilla/arch/x86/Kconfig.cpu
> linux-2.6.37-rc6/arch/x86/Kconfig.cpu
> --- linux-2.6.37-rc6.vanilla/arch/x86/Kconfig.cpu 2010-12-15
> 20:24:48.000000000 -0500
> +++ linux-2.6.37-rc6/arch/x86/Kconfig.cpu 2010-12-19 14:31:59.034429012
> -0500
> @@ -171,6 +171,13 @@
> Enables use of some extended instructions, and passes appropriate
> optimization flags to GCC.
>
> +config MK10
> + bool "Phenom/Phenom-II/Athlon-II/K10/10h"
> + ---help---
> + Select this for an AMD K10-family processor. Also known as Family
> + 10h. Enables use of some extended instructions, and passes
> + appropriate optimization flags to GCC.

Extreme nitpicking, but why do you have two spaces between
"appropriate" and "optimization" here?

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.

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