Re: [PATCH v2 2/2] x86: Support compiling out human-friendly processor feature names

From: Borislav Petkov
Date: Sat Feb 22 2014 - 15:50:38 EST


On Sat, Feb 22, 2014 at 11:57:10AM -0800, Josh Triplett wrote:

...

> diff --git a/arch/x86/boot/cpu.c b/arch/x86/boot/cpu.c
> index 6ec6bb6..29207f6 100644
> --- a/arch/x86/boot/cpu.c
> +++ b/arch/x86/boot/cpu.c
> @@ -16,7 +16,9 @@
> */
>
> #include "boot.h"
> +#ifdef CONFIG_X86_FEATURE_NAMES
> #include "cpustr.h"
> +#endif

You probably could get rid of this ifdef too by moving it into cpustr.h
after teaching arch/x86/boot/mkcpustr.c to issue it...

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/