]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/ptrace.c
SPI: Add an SPI master driver for the OMAP2 McSPI controller
[linux-2.6-omap-h63xx.git] / kernel / ptrace.c
index 8aad0331d82eae17482a37056c0368a8e6274661..4d50e06fd745cf28fc940252d856b51d1b372110 100644 (file)
@@ -440,6 +440,7 @@ struct task_struct *ptrace_get_task_struct(pid_t pid)
        child = find_task_by_pid(pid);
        if (child)
                get_task_struct(child);
+
        read_unlock(&tasklist_lock);
        if (!child)
                return ERR_PTR(-ESRCH);