Commit 1cca3385 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT

Commit 84c751bd

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

This patch removes inclusion under if defined CONFIG_COMPAT.
Signed-off-by: default avatarFabian Frederick <>
Acked-by: default avatarOleg Nesterov <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent d6bd4282
......@@ -1077,7 +1077,6 @@ int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
#if defined CONFIG_COMPAT
#include <linux/compat.h>
int compat_ptrace_request(struct task_struct *child, compat_long_t request,
compat_ulong_t addr, compat_ulong_t data)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment