summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/mac
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/mac')
-rw-r--r--sys/arch/powerpc/mac/macintr.c7
-rw-r--r--sys/arch/powerpc/mac/openpic.c7
2 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/powerpc/mac/macintr.c b/sys/arch/powerpc/mac/macintr.c
index 6fb703aee06..28037d52c34 100644
--- a/sys/arch/powerpc/mac/macintr.c
+++ b/sys/arch/powerpc/mac/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.11 2001/06/26 18:19:43 drahn Exp $ */
+/* $OpenBSD: macintr.c,v 1.12 2001/06/27 04:37:18 art Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -46,11 +46,9 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/systm.h>
-#ifdef UVM
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <uvm/uvm.h>
-#endif
#include <machine/autoconf.h>
#include <machine/intr.h>
@@ -536,10 +534,7 @@ printf("calling handler %x\n", ih->ih_fun);
ih = ih->ih_next;
}
-#ifdef UVM
uvmexp.intrs++;
-#else
-#endif
evirq[hwirq[irq]].ev_count++;
}
int_state &= ~r_imen;
diff --git a/sys/arch/powerpc/mac/openpic.c b/sys/arch/powerpc/mac/openpic.c
index fb5523d860d..2fd11d9ef74 100644
--- a/sys/arch/powerpc/mac/openpic.c
+++ b/sys/arch/powerpc/mac/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.13 2001/06/26 18:19:43 drahn Exp $ */
+/* $OpenBSD: openpic.c,v 1.14 2001/06/27 04:37:19 art Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -46,11 +46,9 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/systm.h>
-#ifdef UVM
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <uvm/uvm.h>
-#endif
#include <machine/autoconf.h>
#include <machine/intr.h>
@@ -641,10 +639,7 @@ ext_intr_openpic()
ih = ih->ih_next;
}
-#ifdef UVM
uvmexp.intrs++;
-#else
-#endif
evirq[realirq].ev_count++;
}