![]() | |||||||||||||
Messages in this thread |
* Chuck Ebbert <76306.1226@compuserve.com> wrote:
> In-Reply-To: <20051229210336.GD665@elte.hu>> > On Thu, 29 Dec 2005 at 22:03:36 +0100, Ingo Molnar wrote:
> > > +#define __mutex_fastpath_lock(count, fn_name) \
> > +do { \
> > + /* type-check the function too: */ \
> > + void fastcall (*__tmp)(atomic_t *) = fn_name; \
> > + unsigned int dummy; \
> > + \
> > + (void)__tmp; \
> > + typecheck(atomic_t *, count); \> > The function type checking is ugly. Wouldn't this be better?
>
> Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
thanks, applied.
Ingo
-
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/
| ||||||||||||
| Last update: 2006-01-02 14:32 [from the cache] ©2003-2008 | |||||||||||||