linux/arch/x86/um
Florian Fainelli 0a98764567 um: Allow building and running on older hosts
Commit a78ff11122 ("um: add extended processor state save/restore
support") and b6024b21fe ("um: extend fpstate to _xstate to support
YMM registers") forced the use of the x86 FP _xstate and
PTRACE_GETREGSET/SETREGSET. On older hosts, we would neither be able to
build UML nor run it anymore with these two commits applied because we
don't have definitions for struct _xstate nor these two ptrace requests.

We can determine at build time which fp context structure to check
against, just like we can keep using the old i387 fp save/restore if
PTRACE_GETRESET/SETREGSET are not defined.

Fixes: a78ff11122 ("um: add extended processor state save/restore support")
Fixes: b6024b21fe ("um: extend fpstate to _xstate to support YMM registers")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2017-07-05 23:31:28 +02:00
..
asm x86/arch_prctl: Rename 'code' argument to 'option' 2017-03-20 16:10:32 +01:00
os-Linux um: Allow building and running on older hosts 2017-07-05 23:31:28 +02:00
shared/sysdep um: Include kbuild.h instead of duplicating its macros 2017-05-03 22:36:56 +02:00
vdso
bugs_32.c
bugs_64.c
checksum_32.S
delay.c
elfcore.c
fault.c
Kconfig
ldt.c
Makefile Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-05-01 22:07:51 -07:00
mem_32.c
mem_64.c
ptrace_32.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ptrace_64.c um: Fix PTRACE_POKEUSER on x86_64 2017-05-03 22:35:31 +02:00
ptrace_user.c
setjmp_32.S um: Avoid longjmp/setjmp symbol clashes with libpthread.a 2017-07-05 23:30:50 +02:00
setjmp_64.S um: Avoid longjmp/setjmp symbol clashes with libpthread.a 2017-07-05 23:30:50 +02:00
signal.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
stub_32.S
stub_64.S
stub_segv.c
sys_call_table_32.c
sys_call_table_64.c
syscalls_32.c x86/syscalls/32: Wire up arch_prctl on x86-32 2017-03-20 16:10:33 +01:00
syscalls_64.c um/arch_prctl: Fix fallout from x86 arch_prctl() rework 2017-03-21 10:08:29 +01:00
sysrq_32.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
sysrq_64.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
tls_32.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
tls_64.c
user-offsets.c um: Allow building and running on older hosts 2017-07-05 23:31:28 +02:00