summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-11-17 15:35:59 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-12-03 14:02:03 +0000
commit86aa46c79c50a49c399c07f91819c6806c76c756 (patch)
treec764956566328c7224febf431f8ac1dd08d2c346 /sys/mips
parent233ec6b12b56dcfb589479a82f1e973170f766d7 (diff)
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/minidump_machdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/mips/mips/minidump_machdep.c b/sys/mips/mips/minidump_machdep.c
index abe45e999f13..cbf9a83395a6 100644
--- a/sys/mips/mips/minidump_machdep.c
+++ b/sys/mips/mips/minidump_machdep.c
@@ -120,6 +120,10 @@ cpu_minidumpsys(struct dumperinfo *di, const struct minidumpstate *state)
int i, error;
void *dump_va;
+ /* Live dumps are untested. */
+ if (!dumping)
+ return (EOPNOTSUPP);
+
/* Flush cache */
mips_dcache_wbinv_all();