]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/cpufeature: Carve out X86_FEATURE_*
authorBorislav Petkov <bp@suse.de>
Tue, 26 Jan 2016 21:12:04 +0000 (22:12 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 11:32:48 +0000 (12:32 +0100)
commit12c61747947a4b157182db340f12155b6c4ce592
tree5e1fdbecaa070c38920ec2e9e7cbb833b66a9d4a
parent4b3b13f315c8baa9c004addaeb2a9b444bf3c12d
x86/cpufeature: Carve out X86_FEATURE_*

BugLink: http://bugs.launchpad.net/bugs/1397880
Move them to a separate header and have the following
dependency:

  x86/cpufeatures.h <- x86/processor.h <- x86/cpufeature.h

This makes it easier to use the header in asm code and not
include the whole cpufeature.h and add guards for asm.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1453842730-28463-5-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(back ported from commit cd4d09ec6f6c12a2cc3db5b7d8876a325a53545b)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
 Conflicts:
arch/x86/include/asm/cpufeature.h
lib/atomic64_test.c
50 files changed:
Documentation/kernel-parameters.txt
arch/x86/boot/cpuflags.h
arch/x86/boot/mkcpustr.c
arch/x86/crypto/crc32-pclmul_glue.c
arch/x86/crypto/crc32c-intel_glue.c
arch/x86/crypto/crct10dif-pclmul_glue.c
arch/x86/entry/common.c
arch/x86/entry/entry_32.S
arch/x86/entry/vdso/vdso32-setup.c
arch/x86/entry/vdso/vdso32/system_call.S
arch/x86/entry/vdso/vma.c
arch/x86/include/asm/alternative.h
arch/x86/include/asm/apic.h
arch/x86/include/asm/arch_hweight.h
arch/x86/include/asm/cmpxchg.h
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/cpufeatures.h [new file with mode: 0644]
arch/x86/include/asm/fpu/internal.h
arch/x86/include/asm/irq_work.h
arch/x86/include/asm/mwait.h
arch/x86/include/asm/processor.h
arch/x86/include/asm/smap.h
arch/x86/include/asm/smp.h
arch/x86/include/asm/thread_info.h
arch/x86/include/asm/tlbflush.h
arch/x86/include/asm/uaccess_64.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/centaur.c
arch/x86/kernel/cpu/cyrix.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/intel_cacheinfo.c
arch/x86/kernel/cpu/match.c
arch/x86/kernel/cpu/mkcapflags.sh
arch/x86/kernel/cpu/mtrr/main.c
arch/x86/kernel/cpu/transmeta.c
arch/x86/kernel/e820.c
arch/x86/kernel/head_32.S
arch/x86/kernel/hpet.c
arch/x86/kernel/msr.c
arch/x86/kernel/verify_cpu.S
arch/x86/lib/clear_page_64.S
arch/x86/lib/copy_page_64.S
arch/x86/lib/copy_user_64.S
arch/x86/lib/memcpy_64.S
arch/x86/lib/memmove_64.S
arch/x86/lib/memset_64.S
arch/x86/mm/setup_nx.c
arch/x86/oprofile/op_model_amd.c
arch/x86/um/asm/barrier.h
lib/atomic64_test.c