From c8a44dea9630e500f1eb44cb7934217fb2212f4e Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 20 Jul 2009 15:25:01 -0500 Subject: Fixed PR 10386 by removing the need to convert a pid to a task. * runtime/itrace.c (usr_itrace_init): Changed prototype to take a task_struct instead of a pid. * tapset-itrace.cxx (emit_module_decls): Updated usr_itrace_init() call. * runtime/autoconf-find-task-pid.c: Removed, since only user_itrace_init() was using it. * buildrun.cxx (compile_pass): Removed autoconf-find-task-pid.c test. --- runtime/autoconf-find-task-pid.c | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 runtime/autoconf-find-task-pid.c (limited to 'runtime/autoconf-find-task-pid.c') diff --git a/runtime/autoconf-find-task-pid.c b/runtime/autoconf-find-task-pid.c deleted file mode 100644 index 549d5ac3..00000000 --- a/runtime/autoconf-find-task-pid.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -void foo (pid_t k) { - struct task_struct *tsk = find_task_by_pid (k); - (void) tsk; -} -- cgit