summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/trap.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-14 14:35:36 +0000
committerpeter <peter@FreeBSD.org>1995-12-14 14:35:36 +0000
commitd709c48e091eed07a7fb03373950a444540f0a00 (patch)
tree1109289b8c5d072b52d46fca50503775361de76a /sys/amd64/amd64/trap.c
parenta3e20fdde1a1cb4b7bc34a22a5877858744589a1 (diff)
downloadFreeBSD-src-d709c48e091eed07a7fb03373950a444540f0a00.zip
FreeBSD-src-d709c48e091eed07a7fb03373950a444540f0a00.tar.gz
GENERIC/LINT: Remove redundant quoting on some option lines.
LINT: add a couple of new/missing/undocumented options files.i386: add linux code so that you can compile a kernel with static linux emulation ("options LINUX") i386/*: use #if defined(COMPAT_LINUX) || defined(LINUX) to enable static support of linux emulation (just like "IBCS2" makes ibcs2 static) The main thing this is going to make obvious, is that the LINUX code (when compiled from LINT) has a lot of warnings, some of which dont look too pleasant..
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r--sys/amd64/amd64/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 29de5a6..21f1f8e 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.64 1995/12/09 20:40:43 phk Exp $
+ * $Id: trap.c,v 1.65 1995/12/14 08:21:29 phk Exp $
*/
/*
@@ -934,7 +934,7 @@ bad:
#endif
}
-#ifdef COMPAT_LINUX
+#if defined(COMPAT_LINUX) || defined(LINUX)
void
linux_syscall(frame)
struct trapframe frame;
@@ -1027,4 +1027,4 @@ linux_syscall(frame)
ktrsysret(p->p_tracep, code, error, rval[0]);
#endif
}
-#endif /* COMPAT_LINUX */
+#endif /* COMPAT_LINUX || LINUX */
OpenPOWER on IntegriCloud