ptrace: Prepare to fix racy accesses on task breakpoints
[linux-flexiantxendom0-natty.git] / include / linux / sched.h
index 0ead90c..6bc4624 100644 (file)
@@ -1538,6 +1538,9 @@ struct task_struct {
                unsigned long memsw_bytes; /* uncharged mem+swap usage */
        } memcg_batch;
 #endif
+#ifdef CONFIG_HAVE_HW_BREAKPOINT
+       atomic_t ptrace_bp_refcnt;
+#endif
 };
 
 /* Future-safe accessor for struct task_struct's cpus_allowed. */