diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-06-23 22:33:03 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-06-23 22:33:03 +0000 |
commit | d7c1d40d534867476888e6e606958e8fbd40c9ed (patch) | |
tree | ff8b1d63cb631f68a84a7e7f36db92e471009d87 /sys/powerpc/powermac | |
parent | 9f1a0b6386f1d24c42f4060d8550ee46b014b2ec (diff) | |
download | FreeBSD-src-d7c1d40d534867476888e6e606958e8fbd40c9ed.zip FreeBSD-src-d7c1d40d534867476888e6e606958e8fbd40c9ed.tar.gz |
Configure interrupts on SMP systems to be distributed among all online
CPUs by default, and provide a functional version of BUS_BIND_INTR().
While here, fix some potential concurrency problems in the interrupt
handling code.
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r-- | sys/powerpc/powermac/cpcht.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powermac/openpic_macio.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/powermac/cpcht.c b/sys/powerpc/powermac/cpcht.c index aaa02d2..3af4d60 100644 --- a/sys/powerpc/powermac/cpcht.c +++ b/sys/powerpc/powermac/cpcht.c @@ -751,6 +751,7 @@ static device_method_t openpic_cpcht_methods[] = { DEVMETHOD(device_attach, openpic_cpcht_attach), /* PIC interface */ + DEVMETHOD(pic_bind, openpic_bind), DEVMETHOD(pic_config, openpic_cpcht_config), DEVMETHOD(pic_dispatch, openpic_dispatch), DEVMETHOD(pic_enable, openpic_cpcht_enable), diff --git a/sys/powerpc/powermac/openpic_macio.c b/sys/powerpc/powermac/openpic_macio.c index 4a0eaf4..77d12d9 100644 --- a/sys/powerpc/powermac/openpic_macio.c +++ b/sys/powerpc/powermac/openpic_macio.c @@ -67,6 +67,7 @@ static device_method_t openpic_macio_methods[] = { DEVMETHOD(device_attach, openpic_attach), /* PIC interface */ + DEVMETHOD(pic_bind, openpic_bind), DEVMETHOD(pic_config, openpic_config), DEVMETHOD(pic_dispatch, openpic_dispatch), DEVMETHOD(pic_enable, openpic_enable), |