From 207112cfcf4a98bc0c11c23595d30aa2d83c5b6f Mon Sep 17 00:00:00 2001 From: wollman Date: Fri, 21 Oct 1994 01:18:38 +0000 Subject: Make my ALLDEVS kernel compile (basically, LINT minus a lot of options). --- sys/amd64/amd64/trap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/amd64') 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; -- cgit v1.1