summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/hrowpic.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-07-06 15:27:05 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-07-06 15:27:05 +0000
commit6075124f5d4f68fbf2a03a70240288f2e9947813 (patch)
treec8b2a364e3c3e7b441b1a17da10a88a9b5af194a /sys/powerpc/powermac/hrowpic.c
parentda1f525af04cd62596668038387a53d2eedd6b09 (diff)
downloadFreeBSD-src-6075124f5d4f68fbf2a03a70240288f2e9947813.zip
FreeBSD-src-6075124f5d4f68fbf2a03a70240288f2e9947813.tar.gz
Move the EOI logic when starting ithreads into intr_machdep instead of
relying on it as a side effect of PIC_MASK() in the PIC drivers, and add an inmplementation of assign_cpu() for the kernel interrupt layer.
Diffstat (limited to 'sys/powerpc/powermac/hrowpic.c')
-rw-r--r--sys/powerpc/powermac/hrowpic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/powerpc/powermac/hrowpic.c b/sys/powerpc/powermac/hrowpic.c
index b94ebd9..0e839d9 100644
--- a/sys/powerpc/powermac/hrowpic.c
+++ b/sys/powerpc/powermac/hrowpic.c
@@ -269,12 +269,9 @@ static void
hrowpic_mask(device_t dev, u_int irq)
{
struct hrowpic_softc *sc;
- int bank;
sc = device_get_softc(dev);
hrowpic_toggle_irq(sc, irq, 0);
- bank = (irq >= 32) ? HPIC_SECONDARY : HPIC_PRIMARY ;
- hrowpic_write_reg(sc, HPIC_CLEAR, bank, 1U << (irq & 0x1f));
}
static void
OpenPOWER on IntegriCloud