Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

From: Ezequiel Garcia
Date: Sun Oct 07 2012 - 18:35:10 EST


On Sun, Oct 7, 2012 at 7:30 PM, richard -rw- weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia <elezegarcia@xxxxxxxxx> wrote:
>> The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's
>> located at:
>> * Kernel hacking
>> * Disable gcc automatic inlining
>
> Can you guarantee that this will still produce a valid kernel?
> AFAIK we have some functions which have to be inlined in any case.
>

Not sure what you mean by "valid" kernel. I'm using a kernel with
this, of course.
If you mean always_inline attribute: that's a whole different story.
This option only disables *automatic* inlining.

Ezequiel
--
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/