diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 239fd9fba0a5..5b1979a45a1e 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -257,3 +257,16 @@ config CPA_DEBUG | |||
257 | Do change_page_attr() self-tests every 30 seconds. | 257 | Do change_page_attr() self-tests every 30 seconds. |
258 | 258 | ||
259 | endmenu | 259 | endmenu |
260 | |||
261 | config OPTIMIZE_INLINING | ||
262 | bool "Allow gcc to uninline functions marked 'inline'" | ||
263 | default y | ||
264 | help | ||
265 | This option determines if the kernel forces gcc to inline the functions | ||
266 | developers have marked 'inline'. Doing so takes away freedom from gcc to | ||
267 | do what it thinks is best, which is desirable for the gcc 3.x series of | ||
268 | compilers. The gcc 4.x series have a rewritten inlining algorithm and | ||
269 | disabling this option will generate a smaller kernel there. Hopefully | ||
270 | this algorithm is so good that allowing gcc4 to make the decision can | ||
271 | become the default in the future, until then this option is there to | ||
272 | test gcc for this. | ||