diff options
| author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-09 17:24:09 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2008-02-09 17:24:09 -0500 |
| commit | 185c045c245f46485ad8bbd8cc1100e986ff3f13 (patch) | |
| tree | fc08cd474bf6c7c9b0c077a069255d04b8804fe4 | |
| parent | bfc734b24671b2639218ae2ef53af91dfd30b6c9 (diff) | |
x86, core: remove CONFIG_FORCED_INLINING
Other than the defconfigs, remove the entry in compiler-gcc4.h,
Kconfig.debug and feature-removal-schedule.txt.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| -rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
| -rw-r--r-- | arch/x86/configs/i386_defconfig | 1 | ||||
| -rw-r--r-- | arch/x86/configs/x86_64_defconfig | 1 | ||||
| -rw-r--r-- | include/linux/compiler-gcc4.h | 9 | ||||
| -rw-r--r-- | lib/Kconfig.debug | 14 |
5 files changed, 0 insertions, 34 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index ce9503c892b5..557f4a2f1655 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
| @@ -111,15 +111,6 @@ Who: Christoph Hellwig <hch@lst.de> | |||
| 111 | 111 | ||
| 112 | --------------------------- | 112 | --------------------------- |
| 113 | 113 | ||
| 114 | What: CONFIG_FORCED_INLINING | ||
| 115 | When: June 2006 | ||
| 116 | Why: Config option is there to see if gcc is good enough. (in january | ||
| 117 | 2006). If it is, the behavior should just be the default. If it's not, | ||
| 118 | the option should just go away entirely. | ||
| 119 | Who: Arjan van de Ven | ||
| 120 | |||
| 121 | --------------------------- | ||
| 122 | |||
| 123 | What: eepro100 network driver | 114 | What: eepro100 network driver |
| 124 | When: January 2007 | 115 | When: January 2007 |
| 125 | Why: replaced by the e100 driver | 116 | Why: replaced by the e100 driver |
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index 77562e7cdab6..3df340b54e57 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig | |||
| @@ -1421,7 +1421,6 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
| 1421 | # CONFIG_DEBUG_VM is not set | 1421 | # CONFIG_DEBUG_VM is not set |
| 1422 | # CONFIG_DEBUG_LIST is not set | 1422 | # CONFIG_DEBUG_LIST is not set |
| 1423 | # CONFIG_FRAME_POINTER is not set | 1423 | # CONFIG_FRAME_POINTER is not set |
| 1424 | # CONFIG_FORCED_INLINING is not set | ||
| 1425 | # CONFIG_RCU_TORTURE_TEST is not set | 1424 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1426 | # CONFIG_LKDTM is not set | 1425 | # CONFIG_LKDTM is not set |
| 1427 | # CONFIG_FAULT_INJECTION is not set | 1426 | # CONFIG_FAULT_INJECTION is not set |
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index 9e2b0ef851de..eef98cb00c62 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig | |||
| @@ -1346,7 +1346,6 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
| 1346 | # CONFIG_DEBUG_VM is not set | 1346 | # CONFIG_DEBUG_VM is not set |
| 1347 | # CONFIG_DEBUG_LIST is not set | 1347 | # CONFIG_DEBUG_LIST is not set |
| 1348 | # CONFIG_FRAME_POINTER is not set | 1348 | # CONFIG_FRAME_POINTER is not set |
| 1349 | # CONFIG_FORCED_INLINING is not set | ||
| 1350 | # CONFIG_RCU_TORTURE_TEST is not set | 1349 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1351 | # CONFIG_LKDTM is not set | 1350 | # CONFIG_LKDTM is not set |
| 1352 | # CONFIG_FAULT_INJECTION is not set | 1351 | # CONFIG_FAULT_INJECTION is not set |
diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h index 0ab3a3232330..974f5b7bb205 100644 --- a/include/linux/compiler-gcc4.h +++ b/include/linux/compiler-gcc4.h | |||
| @@ -5,15 +5,6 @@ | |||
| 5 | /* These definitions are for GCC v4.x. */ | 5 | /* These definitions are for GCC v4.x. */ |
| 6 | #include <linux/compiler-gcc.h> | 6 | #include <linux/compiler-gcc.h> |
| 7 | 7 | ||
| 8 | #ifdef CONFIG_FORCED_INLINING | ||
| 9 | # undef inline | ||
| 10 | # undef __inline__ | ||
| 11 | # undef __inline | ||
| 12 | # define inline inline __attribute__((always_inline)) | ||
| 13 | # define __inline__ __inline__ __attribute__((always_inline)) | ||
| 14 | # define __inline __inline __attribute__((always_inline)) | ||
| 15 | #endif | ||
| 16 | |||
| 17 | #define __used __attribute__((__used__)) | 8 | #define __used __attribute__((__used__)) |
| 18 | #define __must_check __attribute__((warn_unused_result)) | 9 | #define __must_check __attribute__((warn_unused_result)) |
| 19 | #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) | 10 | #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index ce0bb2600c25..a370fe828a79 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -465,20 +465,6 @@ config FRAME_POINTER | |||
| 465 | some architectures or if you use external debuggers. | 465 | some architectures or if you use external debuggers. |
| 466 | If you don't debug the kernel, you can say N. | 466 | If you don't debug the kernel, you can say N. |
| 467 | 467 | ||
| 468 | config FORCED_INLINING | ||
| 469 | bool "Force gcc to inline functions marked 'inline'" | ||
| 470 | depends on DEBUG_KERNEL | ||
| 471 | default y | ||
| 472 | help | ||
| 473 | This option determines if the kernel forces gcc to inline the functions | ||
| 474 | developers have marked 'inline'. Doing so takes away freedom from gcc to | ||
| 475 | do what it thinks is best, which is desirable for the gcc 3.x series of | ||
| 476 | compilers. The gcc 4.x series have a rewritten inlining algorithm and | ||
| 477 | disabling this option will generate a smaller kernel there. Hopefully | ||
| 478 | this algorithm is so good that allowing gcc4 to make the decision can | ||
| 479 | become the default in the future, until then this option is there to | ||
| 480 | test gcc for this. | ||
| 481 | |||
| 482 | config BOOT_PRINTK_DELAY | 468 | config BOOT_PRINTK_DELAY |
| 483 | bool "Delay each boot printk message by N milliseconds" | 469 | bool "Delay each boot printk message by N milliseconds" |
| 484 | depends on DEBUG_KERNEL && PRINTK && GENERIC_CALIBRATE_DELAY | 470 | depends on DEBUG_KERNEL && PRINTK && GENERIC_CALIBRATE_DELAY |
