Messages in this thread Patch in this message | | | Subject | [RFC][PATCH 13/20] kthread: Update kthread to work with pspaces. | From | (Eric W. Biederman) | Date | Mon, 06 Feb 2006 12:57:38 -0700 |
| |
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
kernel/kthread.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
4dbaead60e8ba1ef38aea6059d1abb6f6a10fd1b diff --git a/kernel/kthread.c b/kernel/kthread.c index e75950a..0b4fa7b 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -12,6 +12,7 @@ #include <linux/unistd.h> #include <linux/file.h> #include <linux/module.h> +#include <linux/pspace.h> #include <asm/semaphore.h> /* @@ -114,7 +115,7 @@ static void keventd_create_kthread(void create->result = ERR_PTR(pid); } else { wait_for_completion(&create->started); - create->result = find_task_by_pid(pid); + create->result = find_task_by_pid(current->pspace, pid); } complete(&create->done); } -- 1.1.5.g3480 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |