[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1204654453.5698.17.camel@brick>
Date: Tue, 04 Mar 2008 10:14:13 -0800
From: Harvey Harrison <harvey.harrison@...il.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Ingo Molnar <mingo@...e.hu>, Sam Ravnborg <sam@...nborg.org>,
Adrian Bunk <bunk@...nel.org>,
Alexey Starikovskiy <aystarik@...il.com>, lenb@...nel.org,
astarikovskiy@...e.de, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org,
Arjan van de Ven <arjan@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [patch] x86: phase out forced inlining
On Tue, 2008-03-04 at 10:09 -0800, H. Peter Anvin wrote:
> Harvey Harrison wrote:
> >
> >> __inline__ : 1380
> >
> > Lots of them in include/asm-*...not sure if there is a reason for this.
> >
>
> Preferred form for code that's exported to userspace (since gcc
> complains with -ansi -pedantic otherwise.)
>
Figured it would be something like that. Would it be reasonable to move
towards eliminating __inline?
Also, since the exported headers already go through unifdef, could we
move to using inline everywhere in the kernel and add a processing step
to make it __inline__ in the exported headers?
Harvey
--
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