changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/bcm/irq.c

revision 7197: babef06a3de5
parent 7150: 94aebeed6c4a
child 7208: 40ad429365ef
     1.1--- a/sys/src/9/bcm/irq.c
     1.2+++ b/sys/src/9/bcm/irq.c
     1.3@@ -83,6 +83,7 @@ irq(Ureg* ureg)
     1.4 	Vctl *v;
     1.5 	int clockintr;
     1.6 
     1.7+	m->intr++;
     1.8 	clockintr = 0;
     1.9 	for(v = vctl[m->machno]; v != nil; v = v->next)
    1.10 		if((*v->reg & v->mask) != 0){
    1.11@@ -103,11 +104,10 @@ fiq(Ureg *ureg)
    1.12 {
    1.13 	Vctl *v;
    1.14 
    1.15+	m->intr++;
    1.16 	v = vfiq;
    1.17 	if(v == nil)
    1.18 		panic("cpu%d: unexpected item in bagging area", m->machno);
    1.19-	m->intr++;
    1.20-	ureg->pc -= 4;
    1.21 	coherence();
    1.22 	v->f(ureg, v->a);
    1.23 	coherence();