Re: [PATCH 5/9] UML - change semaphores to completions

From: Andrew Morton
Date: Wed Mar 09 2005 - 20:28:40 EST


Jeff Dike <jdike@xxxxxxxxxxx> wrote:
>
> @@ -197,13 +197,14 @@
> { .list = LIST_HEAD_INIT(port->list),
> .wait_count = ATOMIC_INIT(0),
> .has_connection = 0,
> - .sem = __SEMAPHORE_INITIALIZER(port->sem,
> - 0),
> .lock = SPIN_LOCK_UNLOCKED,
> .port = port_num,
> .fd = fd,
> .pending = LIST_HEAD_INIT(port->pending),
> .connections = LIST_HEAD_INIT(port->connections) });
> +
> + init_completion(&port->done),
> +

I'll convert that to a semicolon...
-
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/