2008-01-30 05:32:31 -07:00
|
|
|
#
|
|
|
|
# Makefile for x86 specific library files.
|
|
|
|
#
|
|
|
|
|
2009-05-22 03:12:01 -07:00
|
|
|
obj-$(CONFIG_SMP) := msr.o
|
2008-01-30 05:32:31 -07:00
|
|
|
|
2008-07-03 08:35:41 -07:00
|
|
|
lib-y := delay.o
|
2008-05-12 12:20:42 -07:00
|
|
|
lib-y += thunk_$(BITS).o
|
2008-06-24 13:40:14 -07:00
|
|
|
lib-y += usercopy_$(BITS).o getuser.o putuser.o
|
2008-01-30 05:32:31 -07:00
|
|
|
lib-y += memcpy_$(BITS).o
|
2009-09-04 10:00:09 -07:00
|
|
|
|
|
|
|
obj-y += msr-reg.o msr-reg-export.o
|
2008-01-30 05:32:31 -07:00
|
|
|
|
2007-10-11 02:13:35 -07:00
|
|
|
ifeq ($(CONFIG_X86_32),y)
|
2009-07-03 08:28:57 -07:00
|
|
|
obj-y += atomic64_32.o
|
2008-01-30 05:32:31 -07:00
|
|
|
lib-y += checksum_32.o
|
|
|
|
lib-y += strstr_32.o
|
2009-09-30 22:30:38 -07:00
|
|
|
lib-y += semaphore_32.o string_32.o
|
|
|
|
ifneq ($(CONFIG_X86_CMPXCHG64),y)
|
|
|
|
lib-y += cmpxchg8b_emu.o
|
|
|
|
endif
|
2008-01-30 05:32:31 -07:00
|
|
|
lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
|
2007-10-11 02:13:35 -07:00
|
|
|
else
|
2008-01-30 05:32:31 -07: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 02:13:35 -07:00
|
|
|
endif
|