linux/arch/x86/um
Borislav Petkov e12edd021b x86/cpufeature: Carve out X86_FEATURE_*
commit cd4d09ec6f upstream.

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>
[bwh: Backported to 3.16 to avoid a dependency loop:
 - Drop some inapplicable changes
 - Move all the previously backported feature and bug flags across
 - Also change <asm/nospec-branch.h> and lib/retpoline.S to use
   <asm/cpufeatures.h>
 - Also include <asm/cpufeatures.h> in <asm/barrier.h>, as the vdso fails to
   build without that
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-05-22 23:15:08 +01:00
..
asm x86/cpufeature: Carve out X86_FEATURE_* 2019-05-22 23:15:08 +01:00
os-Linux um: prctl: Do not include linux/ptrace.h 2013-09-07 10:57:11 +02:00
shared/sysdep um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP 2019-02-11 17:53:43 +00:00
vdso x86, vdso: Clean up 32-bit vs 64-bit vdso params 2014-05-05 13:18:40 -07:00
bug.c um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
bugs_32.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
bugs_64.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
checksum_32.S x86, extable: Remove open-coded exception table entries in arch/x86/um/checksum_32.S 2012-04-20 13:51:39 -07:00
delay.c um: merge delay_{32,64}.c 2011-11-02 14:15:37 +01:00
elfcore.c switch elf_core_write_extra_data() to dump_emit() 2013-11-09 00:16:23 -05:00
fault.c um: don't compare a pointer to 0 2012-12-20 11:49:39 -08:00
Kconfig arch/um: make it work with defconfig and x86_64 2013-11-17 11:31:48 +01:00
ksyms.c um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
ldt.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
Makefile um: Fix build error and kconfig for i386 2016-02-02 19:50:28 +00:00
mem_32.c coredump: remove VM_ALWAYSDUMP flag 2012-03-23 16:58:42 -07:00
mem_64.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
ptrace_32.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
ptrace_64.c um: Fix PTRACE_POKEUSER on x86_64 2017-08-26 02:14:45 +01:00
ptrace_user.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
setjmp_32.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
setjmp_64.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
signal.c um: Use get_signal() signal_setup_done() 2019-05-02 21:41:47 +01:00
stub_32.S um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
stub_64.S um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
stub_segv.c um: Use POSIX ucontext_t instead of struct ucontext 2018-10-21 08:44:48 +01:00
sys_call_table_32.c x86, um: actually mark system call tables readonly 2015-02-04 10:57:54 +00:00
sys_call_table_64.c x86, um: actually mark system call tables readonly 2015-02-04 10:57:54 +00:00
syscalls_64.c um: kill thread->forking 2012-09-27 18:04:55 +02:00
sysrq_32.c um: Rewrite show_stack() 2013-11-17 11:27:25 +01:00
sysrq_64.c um: Rewrite show_stack() 2013-11-17 11:27:25 +01:00
tls_32.c make SYSCALL_DEFINE<n>-generated wrappers do asmlinkage_protect 2013-03-03 22:58:33 -05:00
tls_64.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
user-offsets.c x32: Add x32 system calls to syscall/syscall_64.tbl 2012-02-20 12:48:49 -08:00