]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/x86/mm/tlb.c
x86: prepare for tlb merge
authorTejun Heo <tj@kernel.org>
Wed, 21 Jan 2009 08:26:06 +0000 (17:26 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 21 Jan 2009 08:26:06 +0000 (17:26 +0900)
commit6dd01bedee6c3191643db303a1dc530bad56ec55
tree55d86313c7973e7fe626ceffa7d38925f9997dfb
parentbdbcdd48883940bbd8d17eb01172d58a261a413a
x86: prepare for tlb merge

Impact: clean up, ipi vector number reordering for x86_32

Make the following changes to prepare for tlb merge.

* reorder x86_32 ip vectors

* adjust tlb_32.c and tlb_64.c such that their logics coincide exactly
- on spurious invalidate ipi, tlb_32 acks the irq
- tlb_64 now has proper memory barriers around clearing
          flush_cpumask (no change in generated code)

* unexport flush_tlb_page from tlb_32.c, there's no user

* use unsigned int for cpu id

* drop unnecessary includes from tlb_64.c

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/irq_vectors.h
arch/x86/kernel/tlb_32.c
arch/x86/kernel/tlb_64.c