[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49567AC3.4030507@zytor.com>
Date: Sat, 27 Dec 2008 10:58:11 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Sam Ravnborg <sam@...nborg.org>
CC: Ingo Molnar <mingo@...e.hu>, Mike Frysinger <vapier@...too.org>,
tglx@...utronix.de, mingo@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86 byteorder.h: use __asm__/__inline__ for userspace
Sam Ravnborg wrote:
>
> I wnet with the scripted conversion for now.
> If that does not fly we can come back to this proposal.
>
> What I like most with the auto conversion is that we avoid
> adding yet another special rule about how to do stuff in exported headers.
>
Indeed, and being keyword conversion, it's independent of context, at
least as long as one doesn't have too many run-ins with weird uses of
the # and ## preprocessor operators, which are a *lot* easier to rule
out globally.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists