]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/dsp/dspgateway/task.c
Merge mainline v2.6.27-rc2 tree into linux-omap tree
[linux-2.6-omap-h63xx.git] / drivers / dsp / dspgateway / task.c
index e3a0a02a103fa33a6f72a1b618e8750812741954..4d7dcdd2658c01c7cfe8ffc7f50f72707e56f423 100644 (file)
@@ -2830,7 +2830,7 @@ static ssize_t proc_list_show(struct device *d, struct device_attribute *attr,
        list_for_each_entry(pl, &dev->proc_list, list_head) {
                /* need to lock tasklist_lock before calling
                 * find_task_by_pid_type. */
-               if (find_task_by_pid(pl->pid) != NULL)
+               if (find_task_by_pid_type_ns(PIDTYPE_PID, pl->pid, &init_pid_ns) != NULL)
                        len += sprintf(buf + len, "%d\n", pl->pid);
                read_unlock(&tasklist_lock);
        }