Module Name: src
Committed By: maxv
Date: Fri Sep 15 17:22:09 UTC 2017
Modified Files:
src/sys/arch/amd64/amd64: trap.c
Log Message:
Obviously, I was being absolutely dumb here; it's XEN, not Xen.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/amd64/amd64/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/amd64/trap.c
diff -u src/sys/arch/amd64/amd64/trap.c:1.99 src/sys/arch/amd64/amd64/trap.c:1.100
--- src/sys/arch/amd64/amd64/trap.c:1.99 Sun Sep 3 09:19:51 2017
+++ src/sys/arch/amd64/amd64/trap.c Fri Sep 15 17:22:09 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.99 2017/09/03 09:19:51 maxv Exp $ */
+/* $NetBSD: trap.c,v 1.100 2017/09/15 17:22:09 maxv Exp $ */
/*
* Copyright (c) 1998, 2000, 2017 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.99 2017/09/03 09:19:51 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.100 2017/09/15 17:22:09 maxv Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -230,7 +230,7 @@ nmitrap(struct trapframe *frame)
* Such traps can be triggered when the kernel fails to return to userland,
* because of incorrect segment registers.
*/
-#ifndef Xen
+#ifndef XEN
static void trap_user_kernelmode(struct trapframe *, int, lwp_t *, proc_t *);
static void