Make the intended change.

This commit is contained in:
Attilio Rao 2011-05-10 13:48:21 +00:00
parent a9b091fcb8
commit 7d456f2f3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/largeSMP/; revision=221735

View File

@ -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