Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/dev Make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/f47667a0f859
branches:  trunk
changeset: 1023423:f47667a0f859
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Sep 07 06:36:06 2021 +0000

description:
Make this compile again.

XXX
Unfortunately, kernel does not boot on TX3922-based machines...

diffstat:

 sys/arch/hpcmips/dev/m38813c.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 1b7ce80413a9 -r f47667a0f859 sys/arch/hpcmips/dev/m38813c.c
--- a/sys/arch/hpcmips/dev/m38813c.c    Tue Sep 07 03:48:01 2021 +0000
+++ b/sys/arch/hpcmips/dev/m38813c.c    Tue Sep 07 06:36:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: m38813c.c,v 1.15 2021/08/07 16:18:54 thorpej Exp $ */
+/*     $NetBSD: m38813c.c,v 1.16 2021/09/07 06:36:06 rin Exp $ */
 
 /*-
  * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m38813c.c,v 1.15 2021/08/07 16:18:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m38813c.c,v 1.16 2021/09/07 06:36:06 rin Exp $");
 
 #include "opt_use_poll.h"
 
@@ -42,6 +42,8 @@
 #include <sys/systm.h>
 #include <sys/device.h>
 
+#include <mips/cpuregs.h>
+
 #include <machine/bus.h>
 #include <machine/intr.h>
 



Home | Main Index | Thread Index | Old Index