Re: [PATCH] Redefine instances of sema_init() to use standard form.

From: Roman Zippel
Date: Thu Oct 12 2006 - 18:48:36 EST


Hi,

On Thursday 12 October 2006 09:44, Robert P. J. Day wrote:

> Since there seems to be no compelling reason *not* to do this,
[..]
> - /*
> - * Logically,
> - * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val);
> - * except that gcc produces better initializing by parts yet.
> - */

You've seen this?

bye, Roman
-
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/