diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-20 00:07:13 (GMT) |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-20 19:29:37 (GMT) |
commit | b44755cfaa72e7ed3d831a946bb4e7dfe7548966 (patch) | |
tree | 251cf0ab5aa9c39bab3f0981ab96021b5523bee3 /arch/x86_64 | |
parent | 48ac3271e52d23ee987da93f80d20f6bec8e6717 (diff) | |
download | linux-fsl-qoriq-b44755cfaa72e7ed3d831a946bb4e7dfe7548966.tar.xz |
{rd,wr}msr_on_cpu SMP=n optimization
Let's save a few bytes in the CONFIG_SMP=n case.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/lib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile index 0a43f07..43d051f 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 \ |