From: Ingo Molnar <mingo@elte.hu>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>,
Arjan van de Ven <arjan@infradead.org>,
Nicolas Pitre <nico@cam.org>,
Jes Sorensen <jes@trained-monkey.org>,
Al Viro <viro@ftp.linux.org.uk>, Oleg Nesterov <oleg@tv-sign.ru>,
David Howells <dhowells@redhat.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Christoph Hellwig <hch@infradead.org>, Andi Kleen <ak@suse.de>,
Russell King <rmk+lkml@arm.linux.org.uk>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: [patch 03/13] mutex subsystem, add include/asm-i386/mutex.h
Date: Mon, 2 Jan 2006 14:29:43 +0100 [thread overview]
Message-ID: <20060102132943.GA30730@elte.hu> (raw)
In-Reply-To: <200512310140_MC3-1-B501-E855@compuserve.com>
* 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
next prev parent reply other threads:[~2006-01-02 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-31 6:37 [patch 03/13] mutex subsystem, add include/asm-i386/mutex.h Chuck Ebbert
2006-01-02 13:29 ` Ingo Molnar [this message]
2006-01-02 13:37 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2005-12-29 21:03 Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060102132943.GA30730@elte.hu \
--to=mingo@elte.hu \
--cc=76306.1226@compuserve.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=dhowells@redhat.com \
--cc=hch@infradead.org \
--cc=jes@trained-monkey.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=nico@cam.org \
--cc=oleg@tv-sign.ru \
--cc=rmk+lkml@arm.linux.org.uk \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox