Skip to contentSkip to conversation

x86: unify tlb.c

PATCH New Jeremy Fitzhardinge 1 participant 1 message Jul 29, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 x86: unify tlb.c

arch/x86/kernel/tlb_*.c are functionally identical, so unify them.

---

arch/x86/kernel/Makefile |    2 arch/x86/kernel/tlb.c    |  229 ++++++++++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/tlb_32.c |  190 --------------------------------------
arch/x86/kernel/tlb_64.c |  194 --------------------------------------
4 files changed, 230 insertions(+), 385 deletions(-)

===================================================================

arch/x86/kernel/Makefile +0 -0
@@ -57,7 +57,7 @@

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_$(BITS).o
+obj-$(CONFIG_X86_SMP) += smpboot.o tsc_sync.o ipi.o tlb.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
===================================================================

arch/x86/kernel/tlb.c new file +229 -0

229 lines not on this page · raw message

===================================================================

arch/x86/kernel/tlb_32.c deleted +0 -190

190 lines not on this page · raw message

===================================================================

arch/x86/kernel/tlb_64.c deleted +0 -194

194 lines not on this page · raw message