Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline

From: Sam Ravnborg
Date: Tue Apr 29 2008 - 00:57:29 EST


On Mon, Apr 28, 2008 at 10:32:17PM -0400, Jeff Dike wrote:
> On Mon, Apr 28, 2008 at 05:41:11PM -0700, Linus Torvalds wrote:
> > So just removing the inline is simply not acceptable any more, since it
> > just implies total and utter breakage of the compiler. At some point you
> > just have to say: "That is sh*t", and not take it any more.
> >
> > What is UML doing to trigger this?
>
> Beats the crap out of me. These things are very generic code from
> UML's point of view.

How does the preprocessed code look like around the definition
and the declaration + use of said function?

Try to do an:
make path/to/file.i

To see the preprocessed output.

Just in case we have some subtle things going on..

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/