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

From: Thomas Gleixner
Date: Sat Dec 05 2015 - 15:01:00 EST


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;