x86/cpufeature: Carve out X86_FEATURE_*
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>
Showing
- Documentation/kernel-parameters.txt 1 addition, 1 deletionDocumentation/kernel-parameters.txt
- arch/x86/boot/cpuflags.h 1 addition, 1 deletionarch/x86/boot/cpuflags.h
- arch/x86/boot/mkcpustr.c 1 addition, 1 deletionarch/x86/boot/mkcpustr.c
- arch/x86/crypto/crc32-pclmul_glue.c 1 addition, 1 deletionarch/x86/crypto/crc32-pclmul_glue.c
- arch/x86/crypto/crc32c-intel_glue.c 1 addition, 1 deletionarch/x86/crypto/crc32c-intel_glue.c
- arch/x86/crypto/crct10dif-pclmul_glue.c 1 addition, 1 deletionarch/x86/crypto/crct10dif-pclmul_glue.c
- arch/x86/entry/common.c 1 addition, 0 deletionsarch/x86/entry/common.c
- arch/x86/entry/entry_32.S 1 addition, 1 deletionarch/x86/entry/entry_32.S
- arch/x86/entry/vdso/vdso32-setup.c 0 additions, 1 deletionarch/x86/entry/vdso/vdso32-setup.c
- arch/x86/entry/vdso/vdso32/system_call.S 1 addition, 1 deletionarch/x86/entry/vdso/vdso32/system_call.S
- arch/x86/entry/vdso/vma.c 1 addition, 0 deletionsarch/x86/entry/vdso/vma.c
- arch/x86/include/asm/alternative.h 0 additions, 6 deletionsarch/x86/include/asm/alternative.h
- arch/x86/include/asm/apic.h 0 additions, 1 deletionarch/x86/include/asm/apic.h
- arch/x86/include/asm/arch_hweight.h 2 additions, 0 deletionsarch/x86/include/asm/arch_hweight.h
- arch/x86/include/asm/cmpxchg.h 1 addition, 0 deletionsarch/x86/include/asm/cmpxchg.h
- arch/x86/include/asm/cpufeature.h 1 addition, 283 deletionsarch/x86/include/asm/cpufeature.h
- arch/x86/include/asm/cpufeatures.h 288 additions, 0 deletionsarch/x86/include/asm/cpufeatures.h
- arch/x86/include/asm/fpu/internal.h 1 addition, 0 deletionsarch/x86/include/asm/fpu/internal.h
- arch/x86/include/asm/irq_work.h 1 addition, 1 deletionarch/x86/include/asm/irq_work.h
- arch/x86/include/asm/mwait.h 2 additions, 0 deletionsarch/x86/include/asm/mwait.h
Loading
Please register or sign in to comment