aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/lib/Makefile')
-rw-r--r--arch/x86_64/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile
index 0a43f07b029..43d051ff1fb 100644
--- a/arch/x86_64/lib/Makefile
+++ b/arch/x86_64/lib/Makefile
@@ -4,7 +4,8 @@
CFLAGS_csum-partial.o := -funroll-loops
-obj-y := io.o iomap_copy.o msr-on-cpu.o
+obj-y := io.o iomap_copy.o
+obj-$(CONFIG_SMP) += msr-on-cpu.o
lib-y := csum-partial.o csum-copy.o csum-wrappers.o delay.o \
usercopy.o getuser.o putuser.o \