forked from Minki/linux
b520b85a96
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>
12 lines
233 B
Makefile
12 lines
233 B
Makefile
#
|
|
# Makefile for i386-specific library files..
|
|
#
|
|
|
|
|
|
lib-y = checksum.o delay.o usercopy.o getuser.o putuser.o memcpy.o strstr.o \
|
|
bitops.o semaphore.o string.o
|
|
|
|
lib-$(CONFIG_X86_USE_3DNOW) += mmx.o
|
|
|
|
obj-$(CONFIG_SMP) += msr-on-cpu.o
|