]> git.baikalelectronics.ru Git - kernel.git/commit
um: Correctly check for PTRACE_GETRESET/SETREGSET
authorRichard Weinberger <richard@nod.at>
Thu, 6 Jul 2017 07:35:27 +0000 (09:35 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 10 Jul 2017 20:58:06 +0000 (22:58 +0200)
commit645fc70761985f56b3c47fa04d0ec15d45553fb9
tree21dabc717e6042e69bb3ff35803e08dc29be24ef
parent6d1d08fb473b2c2f43c142f362b1768e23e36162
um: Correctly check for PTRACE_GETRESET/SETREGSET

When checking for PTRACE_GETRESET/SETREGSET, make sure that
the correct header file is included. We need linux/ptrace.h
which contains all ptrace UAPI related defines.
Otherwise #if defined(PTRACE_GETRESET) is always false.

Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/user-offsets.c