Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt Make cobalt build again.



details:   https://anonhg.NetBSD.org/src/rev/eba7d0653a27
branches:  trunk
changeset: 750100:eba7d0653a27
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 16 19:01:24 2009 +0000

description:
Make cobalt build again.

diffstat:

 sys/arch/cobalt/cobalt/machdep.c  |  6 ++----
 sys/arch/cobalt/stand/boot/boot.c |  4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r 9ea75736b5f8 -r eba7d0653a27 sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c  Wed Dec 16 19:00:48 2009 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c  Wed Dec 16 19:01:24 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.105 2009/12/14 00:46:00 matt Exp $       */
+/*     $NetBSD: machdep.c,v 1.106 2009/12/16 19:01:24 matt Exp $       */
 
 /*-
  * Copyright (c) 2006 Izumi Tsutsui.  All rights reserved.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.105 2009/12/14 00:46:00 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.106 2009/12/16 19:01:24 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -147,8 +147,6 @@
 {
        char *kernend;
        u_long first, last;
-       struct pcb *pcb0;
-       vaddr_t v;
        extern char edata[], end[];
        const char *bi_msg;
 #if NKSYMS || defined(DDB) || defined(MODULAR)
diff -r 9ea75736b5f8 -r eba7d0653a27 sys/arch/cobalt/stand/boot/boot.c
--- a/sys/arch/cobalt/stand/boot/boot.c Wed Dec 16 19:00:48 2009 +0000
+++ b/sys/arch/cobalt/stand/boot/boot.c Wed Dec 16 19:01:24 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.17 2008/05/29 14:25:00 tsutsui Exp $        */
+/*     $NetBSD: boot.c,v 1.18 2009/12/16 19:01:24 matt Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -379,7 +379,7 @@
                        bootprog_name, bootprog_rev, (void*)&start);
        printf(">> (%s, %s)\n", bootprog_maker, bootprog_date);
        printf(">> Model:\t\t%s\n", cobalt_model[cobalt_id]);
-       printf(">> Memory:\t\t%u k\n", (memsize - MIPS_KSEG0_START) / 1024);
+       printf(">> Memory:\t\t%lu k\n", (memsize - MIPS_KSEG0_START) / 1024);
        printf(">> PROM boot string:\t%s\n", bootstring);
 }
 



Home | Main Index | Thread Index | Old Index