2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/arch/m68k/lib
Michal Marek e00c73ee05 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 <geert@linux-m68k.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-04-16 21:35:43 +02:00
..
ashldi3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ashrdi3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.c m68k: simpler m68k and ColdFire CPU's can use generic csum code 2011-12-24 21:47:57 +10:00
divsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
lshrdi3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
memcpy.c m68k: fix unused variable warning in mempcy.c 2012-12-05 10:51:23 +10:00
memmove.c m68k: remove duplicate memmove() implementation 2011-05-24 10:03:49 +10:00
memset.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
modsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
muldi3.c m68k: delay, muldi3 - Use CONFIG_CPU_HAS_NO_MULDIV64 2012-06-10 10:18:30 +02:00
mulsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
string.c m68k: Remove inline strlen() implementation 2013-04-16 21:35:43 +02:00
uaccess.c m68k: Use generic strncpy_from_user(), strlen_user(), and strnlen_user() 2012-06-06 15:31:28 +02:00
udivsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
umodsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00