summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/include/cpu.h')
-rw-r--r--sys/arch/powerpc/include/cpu.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h
index 6c947c0c26e..964844e92ee 100644
--- a/sys/arch/powerpc/include/cpu.h
+++ b/sys/arch/powerpc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.2 1996/12/28 06:25:03 rahnds Exp $ */
+/* $OpenBSD: cpu.h,v 1.3 1997/10/13 10:53:42 pefo Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -36,17 +36,8 @@
#include <machine/frame.h>
-struct machvec {
- void (*splx) __P((int));
- void (*irq_establish) __P((int, int, void (*)(void *), void *));
-};
-extern struct machvec machine_interface;
-
#include <machine/psl.h>
-#define irq_establish(irq, level, handler, arg) \
- ((*machine_interface.irq_establish)((irq), (level), (handler), (arg)))
-
#define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0)
#define CLKF_BASEPRI(frame) ((frame)->pri == 0)
#define CLKF_PC(frame) ((frame)->srr0)