]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86, mm: move tlb.c to arch/x86/mm/
authorIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 09:08:53 +0000 (10:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 09:16:19 +0000 (10:16 +0100)
Impact: cleanup

Now that it's unified, move the (SMP) TLB flushing code from arch/x86/kernel/
to arch/x86/mm/, where it belongs logically.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile
arch/x86/mm/Makefile
arch/x86/mm/tlb.c [moved from arch/x86/kernel/tlb.c with 100% similarity]

index 0626a88fbb461e5f28ee7c1f9ce2aba79a546681..0b3272f58bd963800d57fbf804836f21c93a5f1e 100644 (file)
@@ -58,7 +58,7 @@ obj-$(CONFIG_PCI)             += early-quirks.o
 apm-y                          := apm_32.o
 obj-$(CONFIG_APM)              += apm.o
 obj-$(CONFIG_X86_SMP)          += smp.o
-obj-$(CONFIG_X86_SMP)          += smpboot.o tsc_sync.o ipi.o tlb.o
+obj-$(CONFIG_X86_SMP)          += smpboot.o tsc_sync.o ipi.o
 obj-$(CONFIG_X86_32_SMP)       += smpcommon.o
 obj-$(CONFIG_X86_64_SMP)       += tsc_sync.o smpcommon.o
 obj-$(CONFIG_X86_TRAMPOLINE)   += trampoline_$(BITS).o
index d8cc96a2738f739a9f5dba76f77ee8c9a0885e6a..9f05157220f54b78676acdf72810b0bb384bfcce 100644 (file)
@@ -1,6 +1,8 @@
 obj-y  :=  init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
            pat.o pgtable.o gup.o
 
+obj-$(CONFIG_X86_SMP)          += tlb.o
+
 obj-$(CONFIG_X86_32)           += pgtable_32.o iomap_32.o
 
 obj-$(CONFIG_HUGETLB_PAGE)     += hugetlbpage.o
similarity index 100%
rename from arch/x86/kernel/tlb.c
rename to arch/x86/mm/tlb.c