swi: Pass cpuid to swi register and unregister
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 28 Oct 2011 15:47:31 +0000 (23:47 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 28 Oct 2011 15:47:31 +0000 (23:47 +0800)
commit1da8d52f09e87a41c222998c31100737cca77dd1
tree2322f545872b90b6573a07874276e40d94a12505
parent6355d931731b539fa8e3a95867975267f1dc00ed
swi: Pass cpuid to swi register and unregister

Pass -1 as cpuid then these functions will try pin the ithread to
different CPU based on the 'intr' to be registered/unregistered.

Device and taskqueue swi ithreads' cpuid is not explicitly specified,
i.e. -1 is used, swi_vm still runs on CPU0.
sys/bus/cam/cam_xpt.c
sys/dev/serial/cy/cy.c
sys/dev/serial/sio/sio.c
sys/kern/kern_intr.c
sys/kern/subr_taskqueue.c
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc64/x86_64/vm_machdep.c
sys/sys/interrupt.h