Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Make sure declaration of db_mach_reset_cm...
details: https://anonhg.NetBSD.org/src/rev/097525b0b13a
branches: trunk
changeset: 935922:097525b0b13a
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Jul 13 12:56:58 2020 +0000
description:
Make sure declaration of db_mach_reset_cmd() is available always, not
just #ifdef OCTEON.
diffstat:
sys/arch/mips/mips/db_interface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r baa2251612aa -r 097525b0b13a sys/arch/mips/mips/db_interface.c
--- a/sys/arch/mips/mips/db_interface.c Mon Jul 13 12:44:04 2020 +0000
+++ b/sys/arch/mips/mips/db_interface.c Mon Jul 13 12:56:58 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.84 2020/07/13 05:20:45 simonb Exp $ */
+/* $NetBSD: db_interface.c,v 1.85 2020/07/13 12:56:58 simonb Exp $ */
/*
* Mach Operating System
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.84 2020/07/13 05:20:45 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.85 2020/07/13 12:56:58 simonb Exp $");
#include "opt_multiprocessor.h"
#include "opt_cputype.h" /* which mips CPUs do we support? */
@@ -766,6 +766,7 @@
mips3_sd(MIPS_PHYS_TO_XKPHYS_UNCACHED(CIU_NMI), __BIT(ci->ci_cpuid));
}
#endif
+#endif
static void
db_mach_reset_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
@@ -780,7 +781,6 @@
cpu_reset_address();
}
-#endif
const struct db_command db_machine_command_table[] = {
#ifdef MULTIPROCESSOR
{ DDB_ADD_CMD("cpu", db_mach_cpu_cmd, 0,
Home |
Main Index |
Thread Index |
Old Index