diff options
| author | Richard Weinberger <[email protected]> | 2017-07-06 07:35:27 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2017-07-10 20:58:06 +0000 |
| commit | 61e8d462457f202bf0c6393133425ad387825e22 (patch) | |
| tree | 21dabc717e6042e69bb3ff35803e08dc29be24ef /net/switchdev/switchdev.c | |
| parent | um: v2: Use generic NOTES macro (diff) | |
| download | kernel-61e8d462457f202bf0c6393133425ad387825e22.tar.gz kernel-61e8d462457f202bf0c6393133425ad387825e22.zip | |
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 <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
