]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Fix new context version SMP handling.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 7 Mar 2006 06:50:44 +0000 (22:50 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:21 +0000 (01:14 -0800)
commit96564490059ad35f55bb2d77604cf2bb7e2dddc9
treed5306446b2e26d9e45f65467b4f3b3f3b0c8494c
parentb60c306f7d83ada6d1de82f466e86739f722b9db
[SPARC64]: Fix new context version SMP handling.

Don't piggy back the SMP receive signal code to do the
context version change handling.

Instead allocate another fixed PIL number for this
asynchronous cross-call.  We can't use smp_call_function()
because this thing is invoked with interrupts disabled
and a few spinlocks held.

Also, fix smp_call_function_mask() to count "cpus" correctly.
There is no guarentee that the local cpu is in the mask
yet that is exactly what this code was assuming.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/devices.c
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_sabre.c
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_sun4v.c
arch/sparc64/kernel/sbus.c
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/ttable.S
arch/sparc64/mm/ultra.S
include/asm-sparc64/pil.h