From: Geert Uytterhoeven Date: Sat, 8 Jan 2011 20:57:48 +0000 (+0100) Subject: m68k: Uninline strchr() X-Git-Tag: v2.6.38-rc3~55^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b07897c6288d7e5fc1fd004fccb0c5f1a0e570;p=pandora-kernel.git 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 --- Reading git-diff-tree failed