From: Geert Uytterhoeven Date: Fri, 11 Dec 2009 14:43:15 +0000 (-0600) Subject: kgdb: Replace strstr() by strchr() for single-character needles X-Git-Tag: v2.6.33-rc1~317^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59d309f9c8ef0bd01bf93cc0e758f1d810417bdb;p=pandora-kernel.git kgdb: Replace strstr() by strchr() for single-character needles Some versions of gcc replace calls to strstr() with single-character "needle" string parameters by calls to strchr() behind our back. This causes linking errors if strchr() is defined as an inline function in (e.g. on m68k, which BTW doesn't have kgdb support). Prevent this by explicitly calling strchr() instead. Signed-off-by: Geert Uytterhoeven Signed-off-by: Jason Wessel --- Reading git-diff-tree failed