Merge branch 'tracing/core-v2' into tracing-for-linus
[sfrench/cifs-2.6.git] / arch / x86 / kernel / ptrace.c
index 99749d6e87a88212fbb563c66145b58c49740adf..5c6e46320db18feb28b37d0276edc3d03648651f 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) &&