From a62af368aa25aa415d9445995386229e808d4993 Mon Sep 17 00:00:00 2001 From: wenji Date: Sat, 4 Aug 2007 14:36:27 +0000 Subject: thread_info is renamed to stack since kernel 2.6.22 --- tapset/task.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapset/task.stp b/tapset/task.stp index 1a7699d0..97ae5c7e 100644 --- a/tapset/task.stp +++ b/tapset/task.stp @@ -110,7 +110,7 @@ function task_nice:long (task:long) %{ /* pure */ // Return the scheduled cpu for the given task function task_cpu:long (task:long) -%( kernel_v >= "2.6.23" %? +%( kernel_v >= "2.6.22" %? %{ /* pure */ struct task_struct *t = (struct task_struct *)(long)THIS->task; struct thread_info *ti = kread(&(t->stack)); -- cgit