Merge branch 'tracing/core-v2' into tracing-for-linus
[linux-2.6.git] / arch / x86 / kernel / ptrace.c
index 99749d6..5c6e463 100644 (file)
@@ -686,9 +686,8 @@ static int ptrace_bts_config(struct task_struct *child,
                if (!cfg.signal)
                        return -EINVAL;
 
-               return -EOPNOTSUPP;
-
                child->thread.bts_ovfl_signal = cfg.signal;
+               return -EOPNOTSUPP;
        }
 
        if ((cfg.flags & PTRACE_BTS_O_ALLOC) &&