Create the Makefile in the common hold and adjust the i386 and x86_64 code accordingly. Signed-off-by: Steven Rostedt Cc: Glauber de Oliveira Costa Cc: Rusty Russell Cc: Chris Wright Cc: Andi Kleen Cc: Jeremy Fitzhardinge diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile new file mode 100644 index 0000000..d683d55 --- /dev/null +++ b/arch/x86/lib/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_SMP) += msr-on-cpu.o diff --git a/arch/i386/lib/Makefile b/arch/i386/lib/Makefile index 22d8ac5..304f754 100644 --- a/arch/i386/lib/Makefile +++ b/arch/i386/lib/Makefile @@ -8,4 +8,3 @@ lib-y = checksum.o delay.o usercopy.o getuser.o putuser.o memcpy.o strstr.o \ lib-$(CONFIG_X86_USE_3DNOW) += mmx.o -obj-$(CONFIG_SMP) += msr-on-cpu.o diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile index c943271..8d5f835 100644 --- a/arch/x86_64/lib/Makefile +++ b/arch/x86_64/lib/Makefile @@ -5,7 +5,6 @@ CFLAGS_csum-partial.o := -funroll-loops 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 \ -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/