Re: [PATCH 3/4] x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros

From: Borislav Petkov
Date: Sat Dec 05 2015 - 15:03:25 EST


On Sat, Dec 05, 2015 at 08:59:45PM +0100, Thomas Gleixner wrote:
> On Tue, 1 Dec 2015, Borislav Petkov wrote:
> > -#define cpu_has_ht boot_cpu_has(X86_FEATURE_HT)
>
> tip/arch/x86/include/asm/smp.h: In function âcpu_has_ht_siblingsâ:
> tip/arch/x86/include/asm/smp.h:28:17: error: âcpu_has_htâ undeclared (first use in this function)
> has_siblings = cpu_has_ht && smp_num_siblings > 1;

Yeah, this series needs to go ontop of

ed29210cd6a6 ("x86: Remove unused function cpu_has_ht_siblings()")

which is in tip/x86/cleanups.

BTW, thanks for taking a look, I'll send an updated one removing the
static_cpu_has_safe() calls as you suggested in your other mail.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
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/