Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/dreamcast/dreamcast Explicitly include <machine/pcb...



details:   https://anonhg.NetBSD.org/src/rev/52ab5f1512e8
branches:  trunk
changeset: 779690:52ab5f1512e8
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Jun 11 16:27:08 2012 +0000

description:
Explicitly include <machine/pcb.h> for struct pcb.
Fixes build error on GENERIC + no options DDB, reported by Yasushi Oshima.

Should be pulled up to netbsd-6.

diffstat:

 sys/arch/dreamcast/dreamcast/machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 93df31b2a680 -r 52ab5f1512e8 sys/arch/dreamcast/dreamcast/machdep.c
--- a/sys/arch/dreamcast/dreamcast/machdep.c    Mon Jun 11 15:25:14 2012 +0000
+++ b/sys/arch/dreamcast/dreamcast/machdep.c    Mon Jun 11 16:27:08 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.42 2010/12/20 00:25:31 matt Exp $        */
+/*     $NetBSD: machdep.c,v 1.43 2012/06/11 16:27:08 tsutsui Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2010/12/20 00:25:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.43 2012/06/11 16:27:08 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -98,6 +98,7 @@
 #include <sh3/bscreg.h>
 #include <machine/intr.h>
 #include <machine/kloader.h>
+#include <machine/pcb.h>
 
 #include <dev/cons.h>
 



Home | Main Index | Thread Index | Old Index