PERFORCE change 115997 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Fri Mar 16 20:15:42 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=115997
Change 115997 by gonzo at gonzo_jeeves on 2007/03/16 20:15:19
o Use intr_disable/intr_restore combination instead of
intr_disable/intr_enable.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/nexus.c#3 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/nexus.c#3 (text+ko) ====
@@ -128,12 +128,12 @@
{
int irq;
- intr_disable();
+ register_t sr = intr_disable();
irq = rman_get_start(res);
if(irq > 5)
return(0);
cpu_establish_hardintr(irq, intr, arg);
- intr_enable();
+ intr_restore(sr);
return (0);
}
More information about the p4-projects
mailing list