[SPARC64]: destroy_context() needs to disable interrupts.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 24 Feb 2006 05:40:15 +0000 (21:40 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:01 +0000 (01:14 -0800)
commit77b838fa1ef0ab02f75afc09834c60d87b86772f
tree810bce2bf584b6259bd516daa0391cf1b3487ab4
parenta0663a79ad4faebe1db4a56e2e767b120b12333a
[SPARC64]: destroy_context() needs to disable interrupts.

get_new_mmu_context() can be invoked from interrupt context
now for the new SMP version wrap handling.

So disable interrupt while taking ctx_alloc_lock in destroy_context()
so we don't deadlock.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/tsb.c