]> git.baikalelectronics.ru Git - kernel.git/commit
ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:45:39 +0000 (13:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:51 +0000 (14:34 -0800)
commitf6ec15da55b4ce0e35199fa6054cd5aa2b1b50f5
tree7fc6da464fba51dd75b6fa760f701a4f2244f6d1
parent6e475d375fdc6f1ac041e907e2c91f2ba8bced9e
ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT

Commit b6dec8836d6c ("ptrace: add ability to retrieve signals without
removing from a queue (v4)") includes <linux/compat.h> globally in
ptrace.c

This patch removes inclusion under if defined CONFIG_COMPAT.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/ptrace.c