aboutsummaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorGravatar Florian Fainelli <f.fainelli@gmail.com> 2017-05-25 11:36:26 -0700
committerGravatar Richard Weinberger <richard@nod.at> 2017-07-05 23:31:28 +0200
commit0a987645672ebde7844a9c0732a5a25f3d4bb6c6 (patch)
tree838f821a1b4a2ba33219fabac4913ad0a00180f4 /arch/um
parentum: Avoid longjmp/setjmp symbol clashes with libpthread.a (diff)
downloadlinux-0a987645672ebde7844a9c0732a5a25f3d4bb6c6.tar.gz
linux-0a987645672ebde7844a9c0732a5a25f3d4bb6c6.tar.bz2
linux-0a987645672ebde7844a9c0732a5a25f3d4bb6c6.zip
um: Allow building and running on older hosts
Commit a78ff1112263 ("um: add extended processor state save/restore support") and b6024b21fec8 ("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: a78ff1112263 ("um: add extended processor state save/restore support") Fixes: b6024b21fec8 ("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>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions