diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2008-01-30 05:13:23 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-02-03 02:58:07 -0500 |
commit | d6fbfa4fce607254c081d7f58227281d08419d4c (patch) | |
tree | abe6b55294e35bc769c93d8a6d3b6a854f5e45d1 /lib/Kconfig.debug | |
parent | 470a81ae15ed8c037afa0466e2731566a111c134 (diff) |
kbuild: Spelling/grammar fixes for config DEBUG_SECTION_MISMATCH
Including additional fixes from Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d090d7201086..0d385be682db 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -90,19 +90,19 @@ config DEBUG_SECTION_MISMATCH | |||
90 | most likely result in an oops. | 90 | most likely result in an oops. |
91 | In the code functions and variables are annotated with | 91 | In the code functions and variables are annotated with |
92 | __init, __devinit etc. (see full list in include/linux/init.h) | 92 | __init, __devinit etc. (see full list in include/linux/init.h) |
93 | which result in the code/data being placed in specific sections. | 93 | which results in the code/data being placed in specific sections. |
94 | The section mismatch anaylsis are always done after a full | 94 | The section mismatch analysis is always done after a full |
95 | kernel build but enabling this options will in addition | 95 | kernel build but enabling this option will in addition |
96 | do the following: | 96 | do the following: |
97 | - Add the option -fno-inline-functions-called-once to gcc | 97 | - Add the option -fno-inline-functions-called-once to gcc |
98 | When inlining a function annotated __init in a non-init | 98 | When inlining a function annotated __init in a non-init |
99 | function we would loose the section information and thus | 99 | function we would lose the section information and thus |
100 | the analysis would not catch the illegal reference. | 100 | the analysis would not catch the illegal reference. |
101 | This options tell gcc to inline less but will also | 101 | This option tells gcc to inline less but will also |
102 | result in a larger kernel. | 102 | result in a larger kernel. |
103 | - Run the section mismatch analysis for each module/built-in.o | 103 | - Run the section mismatch analysis for each module/built-in.o |
104 | When we run the section mismatch analysis on vmlinux.o we | 104 | When we run the section mismatch analysis on vmlinux.o we |
105 | looses valueable information about where the mismatch was | 105 | lose valueble information about where the mismatch was |
106 | introduced. | 106 | introduced. |
107 | Running the analysis for each module/built-in.o file | 107 | Running the analysis for each module/built-in.o file |
108 | will tell where the mismatch happens much closer to the | 108 | will tell where the mismatch happens much closer to the |