Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 make it compile without MULTIPROCESSOR ...
details: https://anonhg.NetBSD.org/src/rev/a16731e630dc
branches: trunk
changeset: 359440:a16731e630dc
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 10 03:55:58 2018 +0000
description:
make it compile without MULTIPROCESSOR (xen?)
diffstat:
sys/arch/amd64/amd64/db_interface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r be9bc1193a34 -r a16731e630dc sys/arch/amd64/amd64/db_interface.c
--- a/sys/arch/amd64/amd64/db_interface.c Fri Feb 09 23:22:12 2018 +0000
+++ b/sys/arch/amd64/amd64/db_interface.c Sat Feb 10 03:55:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.28 2018/02/09 09:36:42 maxv Exp $ */
+/* $NetBSD: db_interface.c,v 1.29 2018/02/10 03:55:58 christos Exp $ */
/*
* Mach Operating System
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.28 2018/02/09 09:36:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.29 2018/02/10 03:55:58 christos Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -189,7 +189,6 @@
kdb_trap(int type, int code, db_regs_t *regs)
{
int s;
- db_regs_t dbreg;
switch (type) {
case T_NMI: /* NMI */
@@ -211,6 +210,7 @@
}
#ifdef MULTIPROCESSOR
+ db_regs_t dbreg;
if (!db_suspend_others()) {
ddb_suspend(regs);
} else {
Home |
Main Index |
Thread Index |
Old Index