summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-06-23 22:33:03 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-06-23 22:33:03 +0000
commitd7c1d40d534867476888e6e606958e8fbd40c9ed (patch)
treeff8b1d63cb631f68a84a7e7f36db92e471009d87 /sys/powerpc/powermac
parent9f1a0b6386f1d24c42f4060d8550ee46b014b2ec (diff)
downloadFreeBSD-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.c1
-rw-r--r--sys/powerpc/powermac/openpic_macio.c1
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),
OpenPOWER on IntegriCloud