[IA64] Fix another IA64 preemption problem
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Fri, 24 Jun 2005 04:14:00 +0000 (21:14 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Jun 2005 17:01:19 +0000 (10:01 -0700)
commita68db763af9b676590c3fe9ec3f17bf18015eb2f
tree9862af81932797f0e68f7053d253e6b6b581ea3d
parent819c67e69c4e0062787e27dd989f5f9d00d4834e
[IA64] Fix another IA64 preemption problem

There's another problem shown up by Ingo's recent patch to make
smp_processor_id() complain if it's called with preemption enabled.
local_finish_flush_tlb_mm() calls activate_context() in a situation
where it could be rescheduled to another processor.  This patch
disables preemption around the call.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/smp.c
include/asm-ia64/mmu_context.h