[PATCH 00/10] x86/cpu: Some more cpu_has_YYY removal

Borislav Petkov
2016-03-29T15:42:20Z

From: Borislav Petkov <bp@suse.de>

Here's another set of patches getting rid of cpu_has_YYY macros. Saving
the best for last.

I did some build and boot tests but I'll let the 0day robot chew on it
too.

Borislav Petkov (10):
x86/cpufeature: Kill cpu_has_arch_perfmon
x86/cpufeature: Kill cpu_has_hypervisor
x86/cpufeature: Kill cpu_has_osxsave
x86/cpufeature: Kill cpu_has_x2apic
x86/cpufeature: Kill cpu_has_gbpages
x86/cpufeature: Kill cpu_has_clflush
x86/cpufeature: Kill cpu_has_xmm2
x86/cpufeature: Kill cpu_has_pat
x86/cpufeature: Kill cpu_has_pge
x86/cpufeature: Kill cpu_has_pse

arch/ia64/include/asm/iommu.h | 1 -
arch/x86/crypto/camellia_aesni_avx2_glue.c | 3 ++-
arch/x86/crypto/camellia_aesni_avx_glue.c | 2 +-
arch/x86/crypto/poly1305_glue.c | 2 +-
arch/x86/crypto/serpent_avx2_glue.c | 2 +-
arch/x86/crypto/serpent_sse2_glue.c | 2 +-
arch/x86/events/intel/cstate.c | 2 +-
arch/x86/events/intel/uncore.c | 2 +-
arch/x86/include/asm/apic.h | 4 ++--
arch/x86/include/asm/cpufeature.h | 10 ----------
arch/x86/include/asm/pgtable.h | 2 +-
arch/x86/include/asm/tlbflush.h | 2 +-
arch/x86/include/asm/xor_avx.h | 4 ++--
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/cpu/amd.c | 2 +-
arch/x86/kernel/cpu/intel.c | 10 +++++-----
arch/x86/kernel/cpu/mtrr/cyrix.c | 4 ++--
arch/x86/kernel/cpu/mtrr/generic.c | 4 ++--
arch/x86/kernel/cpu/vmware.c | 2 +-
arch/x86/kernel/kvm.c | 2 +-
arch/x86/kernel/tce_64.c | 2 +-
arch/x86/kvm/mmu.c | 3 ++-
arch/x86/lib/usercopy_32.c | 4 ++--
arch/x86/mm/hugetlbpage.c | 4 ++--
arch/x86/mm/init.c | 8 ++++----
arch/x86/mm/init_32.c | 2 +-
arch/x86/mm/init_64.c | 4 ++--
arch/x86/mm/ioremap.c | 4 ++--
arch/x86/mm/pageattr.c | 4 ++--
arch/x86/mm/pat.c | 4 ++--
arch/x86/oprofile/nmi_int.c | 4 ++--
arch/x86/oprofile/op_model_ppro.c | 2 +-
arch/x86/power/hibernate_32.c | 2 +-
arch/x86/xen/enlighten.c | 4 ++--
drivers/gpu/drm/drm_cache.c | 6 +++---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +-
drivers/lguest/x86/core.c | 2 +-
drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
39 files changed, 60 insertions(+), 69 deletions(-)

--
2.7.3