OpenCloudOS-Kernel/arch/i386/lib
Andi Kleen b520b85a96 i386: Move all simple string operations out of line
The compiler generally generates reasonable inline code for the simple
cases and for the rest it's better for code size for them to be out of line.
Also there they can be potentially optimized more in the future.

In fact they probably should be in a .S file because they're all pure
assembly, but that's for another day.

Also some code style cleanup on them while I was on it (this seems
to be the last untouched really early Linux code)

This saves ~12k text for a defconfig kernel with gcc 4.1.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 18:37:08 -07:00
..
Makefile i386: Move all simple string operations out of line 2007-07-21 18:37:08 -07:00
bitops.c [PATCH] i386: type cast clean up for find_next_zero_bit 2007-05-02 19:27:08 +02:00
checksum.S [PATCH] i386: Add dwarf2 annotations to *_user and checksum functions 2007-05-02 19:27:05 +02:00
delay.c [PATCH] Some config.h removals 2006-10-01 00:39:34 -07:00
getuser.S [PATCH] i386: Add dwarf2 annotations to *_user and checksum functions 2007-05-02 19:27:05 +02:00
memcpy.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mmx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msr-on-cpu.c i386: Add safe variants of rdmsr_on_cpu and wrmsr_on_cpu 2007-05-08 17:22:01 +02:00
putuser.S [PATCH] i386: Add dwarf2 annotations to *_user and checksum functions 2007-05-02 19:27:05 +02:00
semaphore.S [PATCH] i386: fix rwsem build bug on CONFIG_M386=y 2006-10-05 18:47:22 +02:00
string.c i386: Move all simple string operations out of line 2007-07-21 18:37:08 -07:00
strstr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usercopy.c [PATCH] i386: Remove copy_*_user BUG_ONs for (size < 0) 2007-05-02 19:27:21 +02:00