Re: [PATCH 0/6] RFC: Typesafe callbacks
[Posted January 23, 2008 by corbet]
| From: |
| Linus Torvalds <torvalds-AT-linux-foundation.org> |
| To: |
| Rusty Russell <rusty-AT-rustcorp.com.au> |
| Subject: |
| Re: [PATCH 0/6] RFC: Typesafe callbacks |
| Date: |
| Mon, 21 Jan 2008 15:57:03 -0800 (PST) |
| Message-ID: |
| <alpine.LFD.1.00.0801211547160.2957@woody.linux-foundation.org> |
| Cc: |
| Tejun Heo <htejun-AT-gmail.com>,
Andrew Morton <akpm-AT-linux-foundation.org>,
linux-kernel-AT-vger.kernel.org, Jeff Garzik <jeff-AT-garzik.org> |
| Archive-link: |
| Article,
Thread
|
On Tue, 22 Jan 2008, Rusty Russell wrote:
>
> Attempt to create callbacks which take unsigned long as well as
> correct pointer types.
I bow down before you.
I thought I had done some rather horrible things with gcc built-ins and
macros, but I hereby hand over my crown to you.
As my daughter would say: that patch fell out of the ugly tree, and hit
every branch on the way down. Very impressive.
All hail Rusty, undisputed ruler of Ugly-land.
Side note: can you verify that __builtin_choose_expr() exists in gcc-3? I
don't think we've relied on it before except on arm, and that one has
always had its own compiler version dependencies..
Linus
(
Log in to post comments)