2008-01-30 20:32:31 +08:00
|
|
|
#
|
|
|
|
# Makefile for x86 specific library files.
|
|
|
|
#
|
|
|
|
|
2009-05-22 18:12:01 +08:00
|
|
|
obj-$(CONFIG_SMP) := msr.o
|
2008-01-30 20:32:31 +08:00
|
|
|
|
2008-07-03 23:35:41 +08:00
|
|
|
lib-y := delay.o
|
2008-05-13 03:20:42 +08:00
|
|
|
lib-y += thunk_$(BITS).o
|
2008-06-25 04:40:14 +08:00
|
|
|
lib-y += usercopy_$(BITS).o getuser.o putuser.o
|
2008-01-30 20:32:31 +08:00
|
|
|
lib-y += memcpy_$(BITS).o
|
2009-09-05 01:00:09 +08:00
|
|
|
|
|
|
|
obj-y += msr-reg.o msr-reg-export.o
|
2008-01-30 20:32:31 +08:00
|
|
|
|
2007-10-11 17:13:35 +08:00
|
|
|
ifeq ($(CONFIG_X86_32),y)
|
2009-07-03 23:28:57 +08:00
|
|
|
obj-y += atomic64_32.o
|
2008-01-30 20:32:31 +08:00
|
|
|
lib-y += checksum_32.o
|
|
|
|
lib-y += strstr_32.o
|
2009-10-01 13:30:38 +08:00
|
|
|
lib-y += semaphore_32.o string_32.o
|
|
|
|
ifneq ($(CONFIG_X86_CMPXCHG64),y)
|
|
|
|
lib-y += cmpxchg8b_emu.o
|
|
|
|
endif
|
2008-01-30 20:32:31 +08:00
|
|
|
lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
|
2007-10-11 17:13:35 +08:00
|
|
|
else
|
2008-01-30 20:32:31 +08:00
|
|
|
obj-y += io_64.o iomap_copy_64.o
|
|
|
|
lib-y += csum-partial_64.o csum-copy_64.o csum-wrappers_64.o
|
|
|
|
lib-y += thunk_64.o clear_page_64.o copy_page_64.o
|
|
|
|
lib-y += memmove_64.o memset_64.o
|
|
|
|
lib-y += copy_user_64.o rwlock_64.o copy_user_nocache_64.o
|
2007-10-11 17:13:35 +08:00
|
|
|
endif
|