Re: [PATCH] sparc64/power.c: Convert to use the kthread API

From: Andrew Morton
Date: Thu Apr 19 2007 - 20:31:35 EST


On Thu, 19 Apr 2007 01:58:39 -0600
"Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> wrote:

> From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
>
> This starts the sparc64 powerd using kthread_run
> instead of kernel_thread and daemonize. Making the
> code slightly simpler and more maintainable.
>
> In addition the unnecessary flush_signals is removed.

Looks OK. This code could perhaps be switched to call_usermodehelper().

> + task = kthread_urn(powerd, NULL, "powerd");

I'll fix that up before Dave notices ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/