summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-21 01:18:38 +0000
committerwollman <wollman@FreeBSD.org>1994-10-21 01:18:38 +0000
commit207112cfcf4a98bc0c11c23595d30aa2d83c5b6f (patch)
tree8c54bb079aa54ba6627635961fca557cc3dbd37b /sys/amd64
parent96a439f22b71f829bd7b57ab7cb1e9c452f6f8a3 (diff)
downloadFreeBSD-src-207112cfcf4a98bc0c11c23595d30aa2d83c5b6f.zip
FreeBSD-src-207112cfcf4a98bc0c11c23595d30aa2d83c5b6f.tar.gz
Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/trap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index bcc1b37..0ab2746 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.38 1994/10/10 07:33:01 sos Exp $
+ * $Id: trap.c,v 1.39 1994/10/11 22:37:14 sos Exp $
*/
/*
@@ -163,6 +163,9 @@ trap(frame)
struct proc *p = curproc;
u_quad_t sticks = 0;
int i = 0, ucode = 0, type, code;
+#ifdef DIAGNOSTIC
+ u_long eva;
+#endif
frame.tf_eflags &= ~PSL_NT; /* clear nested trap XXX */
type = frame.tf_trapno;
OpenPOWER on IntegriCloud