aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2009-04-03 10:43:48 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-07 07:36:31 -0400
commit0f4814065ff8c24ca8bfd75c9b73502be152c287 (patch)
treef3816ecb64ee198235d2e9c1649de3241c3f2ac2 /include/linux/sched.h
parentee811517a5604aa63fae803b7c044712699e1303 (diff)
x86, ptrace: add bts context unconditionally
Add the ptrace bts context field to task_struct unconditionally. Initialize the field directly in copy_process(). Remove all the unneeded functionality used to initialize that field. Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> Cc: roland@redhat.com Cc: eranian@googlemail.com Cc: oleg@redhat.com Cc: juan.villacis@intel.com Cc: ak@linux.jf.intel.com LKML-Reference: <20090403144603.292754000@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 52b8cd049c2e..451186a22ef5 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1205,13 +1205,11 @@ struct task_struct {
1205 struct list_head ptraced; 1205 struct list_head ptraced;
1206 struct list_head ptrace_entry; 1206 struct list_head ptrace_entry;
1207 1207
1208#ifdef CONFIG_X86_PTRACE_BTS
1209 /* 1208 /*
1210 * This is the tracer handle for the ptrace BTS extension. 1209 * This is the tracer handle for the ptrace BTS extension.
1211 * This field actually belongs to the ptracer task. 1210 * This field actually belongs to the ptracer task.
1212 */ 1211 */
1213 struct bts_context *bts; 1212 struct bts_context *bts;
1214#endif /* CONFIG_X86_PTRACE_BTS */
1215 1213
1216 /* PID/PID hash table linkage. */ 1214 /* PID/PID hash table linkage. */
1217 struct pid_link pids[PIDTYPE_MAX]; 1215 struct pid_link pids[PIDTYPE_MAX];