From: Michal Marek Date: Wed, 10 Apr 2013 14:45:21 +0000 (+0200) Subject: m68k: Remove inline strlen() implementation X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~102^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e00c73ee05dc38ecaccced55d4f5fc58b0b769f7;p=pandora-kernel.git m68k: Remove inline strlen() implementation GCC can replace a strncat() call with constant second argument into a strlen + store, which results in a link error: ERROR: "strlen" [net/ipv4/ip_tunnel.ko] undefined! The inline function is a simple for loop in C. Other architectures either use an asm optimized variant, or use the generic function from lib/string.c. Reported-by: Geert Uytterhoeven Signed-off-by: Michal Marek Signed-off-by: Geert Uytterhoeven --- Reading git-diff-tree failed