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>
Showing
- arch/x86/include/asm/ptrace.h 4 additions, 5 deletionsarch/x86/include/asm/ptrace.h
- arch/x86/kernel/ptrace.c 1 addition, 19 deletionsarch/x86/kernel/ptrace.c
- include/linux/ptrace.h 0 additions, 10 deletionsinclude/linux/ptrace.h
- include/linux/sched.h 0 additions, 2 deletionsinclude/linux/sched.h
- kernel/fork.c 2 additions, 2 deletionskernel/fork.c
- kernel/ptrace.c 0 additions, 10 deletionskernel/ptrace.c
Loading
Please register or sign in to comment