summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-16 04:57:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-16 04:57:40 +0000
commit093b9b532b93b1165679e20314fd03a8899821ce (patch)
tree99f7911197ad183939eeaf5c7267597d6854fd73 /sys/arch/m88k/include
parent54bda6229428f8823cc9646db5e041156c5eaebb (diff)
Do not expose the end of the proc_trampoline bowels to C code anymore, and
get rid of the ``switchframe'' struct definition. As a bonus, this makes cpu_fork() simpler and unwastes 8 bytes of u area.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/cpu.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h
index 8804f92ba41..87bd3869160 100644
--- a/sys/arch/m88k/include/cpu.h
+++ b/sys/arch/m88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.24 2007/10/13 12:54:43 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.25 2007/10/16 04:57:37 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -236,14 +236,6 @@ do { \
void signotify(struct proc *);
-/*
- * switchframe - should be double word aligned.
- */
-struct switchframe {
- u_int sf_pc; /* pc */
- void *sf_proc; /* proc pointer */
-};
-
int badaddr(vaddr_t addr, int size);
#endif /* _KERNEL */