Re: CONFIG_OPTIMIZE_INLINING fun

From: Sam Ravnborg
Date: Sat Nov 15 2008 - 02:56:51 EST


>
> I do wonder whether there's some tweak we could make to page-flags.h
> which would stop this nonsense. Change the inline functions back to
> macros? I suspect that by itself wouldn't work, and my quick attempt
> to try it failed abysmally to compile, I've not the cpp foo needed.

Try declaring the inline functions as __always_inline
This undo the effect of CONFIG_OPTIMIZE_INLINING=n.

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/