diff options
| -rw-r--r-- | arch/x86/kernel/ptrace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 3d9672e59c16..19378715f415 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
| @@ -685,9 +685,8 @@ static int ptrace_bts_config(struct task_struct *child, | |||
| 685 | if (!cfg.signal) | 685 | if (!cfg.signal) |
| 686 | return -EINVAL; | 686 | return -EINVAL; |
| 687 | 687 | ||
| 688 | return -EOPNOTSUPP; | ||
| 689 | |||
| 690 | child->thread.bts_ovfl_signal = cfg.signal; | 688 | child->thread.bts_ovfl_signal = cfg.signal; |
| 689 | return -EOPNOTSUPP; | ||
| 691 | } | 690 | } |
| 692 | 691 | ||
| 693 | if ((cfg.flags & PTRACE_BTS_O_ALLOC) && | 692 | if ((cfg.flags & PTRACE_BTS_O_ALLOC) && |
