diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-01-08 21:57:48 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-01-22 19:32:54 +0100 |
commit | f9b07897c6288d7e5fc1fd004fccb0c5f1a0e570 (patch) | |
tree | 6a998c45cde7a37643d762e621a28a4ec19f80b0 /arch/m68k/atari/config.c | |
parent | 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff) |
m68k: Uninline strchr()
Some versions of gcc replace calls to strstr() with single-character
"needle" string parameters by calls to strchr() behind our back.
If strchr() is defined as an inline function, this causes linking errors
like
ERROR: "strchr" [drivers/target/target_core_mod.ko] undefined!
As m68k is the only architecture that has an inline strchr() and this
inline version is not an optimized asm version, uninline strchr() and use
the standard out-of-line C version in lib/string.c instead.
This also decreases the defconfig/allmodconfig kernel image sizes by a few
hundred bytes.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/atari/config.c')
0 files changed, 0 insertions, 0 deletions