Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/cobalt GC nsym



details:   https://anonhg.NetBSD.org/src/rev/dfd921525a2c
branches:  trunk
changeset: 328460:dfd921525a2c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Apr 03 19:15:43 2014 +0000

description:
GC nsym

diffstat:

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

diffs (34 lines):

diff -r 649436bd6f60 -r dfd921525a2c sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c  Thu Apr 03 18:55:26 2014 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c  Thu Apr 03 19:15:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.115 2014/03/24 20:06:31 christos Exp $   */
+/*     $NetBSD: machdep.c,v 1.116 2014/04/03 19:15:43 joerg 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.115 2014/03/24 20:06:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.116 2014/04/03 19:15:43 joerg Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -141,7 +141,6 @@
        extern char edata[], end[];
        const char *bi_msg;
 #if NKSYMS || defined(DDB) || defined(MODULAR)
-       int nsym = 0;
        char *ssym = 0;
        struct btinfo_symtab *bi_syms;
 #endif
@@ -206,7 +205,6 @@
 
        /* Load symbol table if present */
        if (bi_syms != NULL) {
-               nsym = bi_syms->nsym;
                ssym = (void *)(intptr_t)bi_syms->ssym;
                esym = (void *)(intptr_t)bi_syms->esym;
                kernend = (void *)mips_round_page(esym);



Home | Main Index | Thread Index | Old Index