vserver 1.9.3
[linux-2.6.git] / arch / sh / kernel / kgdb_stub.c
index 42638b9..6c0370f 100644 (file)
@@ -412,7 +412,7 @@ static struct task_struct *get_thread(int pid)
        if (pid == PID_MAX) pid = 0;
 
        /* First check via PID */
-       thread = find_task_by_pid(pid);
+       thread = find_task_by_real_pid(pid);
 
        if (thread)
                return thread;