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)
commit1cca3385e6d556cd90cdc148c2f26af807fa3600
tree7fc6da464fba51dd75b6fa760f701a4f2244f6d1
parentd6bd428275f3f470fc7cf6624b737c6d7805b44b
ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT

Commit 84c751bd4aeb ("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