diff options
| author | mrg <mrg@NetBSD.org> | 2020-09-24 08:14:08 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2020-09-24 08:14:08 +0000 |
| commit | b99235da43f79b0f750cf68dd1d51dfa53724b76 (patch) | |
| tree | 265e7f0d8bf2563a865ca8298e01cc5f1f0440d6 /sys | |
| parent | d8a8b725c92c99ccbd67d75cefc374a997432557 (diff) | |
fix build on non rmx or octeon systems.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/mips/mips/mipsX_subr.S | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/mips/mips/mipsX_subr.S b/sys/arch/mips/mips/mipsX_subr.S index 4c431c7c120..cef29da522d 100644 --- a/sys/arch/mips/mips/mipsX_subr.S +++ b/sys/arch/mips/mips/mipsX_subr.S @@ -1,4 +1,4 @@ -/* $NetBSD: mipsX_subr.S,v 1.110 2020/09/24 02:12:01 mrg Exp $ */ +/* $NetBSD: mipsX_subr.S,v 1.111 2020/09/24 08:14:08 mrg Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -117,9 +117,8 @@ */ #include <mips/asm.h> -RCSID("$NetBSD: mipsX_subr.S,v 1.110 2020/09/24 02:12:01 mrg Exp $") +RCSID("$NetBSD: mipsX_subr.S,v 1.111 2020/09/24 08:14:08 mrg Exp $") -#include "cpunode.h" /* for NWDOG */ #include "opt_cputype.h" #include "opt_ddb.h" #include "opt_kgdb.h" @@ -138,6 +137,12 @@ RCSID("$NetBSD: mipsX_subr.S,v 1.110 2020/09/24 02:12:01 mrg Exp $") #include "assym.h" +#if defined(MIPS64_OCTEON) || defined(MIPS64_XLR) || defined(MIPS64_XLS) +#include "cpunode.h" /* for NWDOG */ +#else +#define NWDOG 0 +#endif + #if defined(MIPS1) || defined(MIPS2) #error use locore_mips1.S #endif |
