summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-10 13:48:21 +0000
committerattilio <attilio@FreeBSD.org>2011-05-10 13:48:21 +0000
commit76d9a072333e46ec2f88a30987db93b41bf66e00 (patch)
tree119ea0417b1001965f8bf6f405701ff14f30abab
parenta7f2d2bb76f345d4f40a3a90fdb730c4e791400e (diff)
downloadFreeBSD-src-76d9a072333e46ec2f88a30987db93b41bf66e00.zip
FreeBSD-src-76d9a072333e46ec2f88a30987db93b41bf66e00.tar.gz
Make the intended change.
-rw-r--r--sys/powerpc/powerpc/openpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powerpc/openpic.c b/sys/powerpc/powerpc/openpic.c
index edccf61..347dc3f 100644
--- a/sys/powerpc/powerpc/openpic.c
+++ b/sys/powerpc/powerpc/openpic.c
@@ -245,7 +245,7 @@ openpic_bind(device_t dev, u_int irq, cpuset_t cpumask)
* XXX: openpic_write() is very special and just needs a 32 bits mask.
* For the moment, just play dirty and get the first half word.
*/
- openpic_write(sc, OPENPIC_IDEST(irq), (long)cpumask & 0xffffffff);
+ openpic_write(sc, OPENPIC_IDEST(irq), cpumask.__bits[0] & 0xffffffff);
}
void
OpenPOWER on IntegriCloud