Module Name: src
Committed By: joerg
Date: Thu Apr 3 19:15:43 UTC 2014
Modified Files:
src/sys/arch/cobalt/cobalt: machdep.c
Log Message:
GC nsym
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/cobalt/cobalt/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/cobalt/cobalt/machdep.c
diff -u src/sys/arch/cobalt/cobalt/machdep.c:1.115 src/sys/arch/cobalt/cobalt/machdep.c:1.116
--- src/sys/arch/cobalt/cobalt/machdep.c:1.115 Mon Mar 24 20:06:31 2014
+++ src/sys/arch/cobalt/cobalt/machdep.c Thu Apr 3 19:15:43 2014
@@ -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 @@ mach_init(int32_t memsize32, u_int bim,
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 @@ mach_init(int32_t memsize32, u_int bim,
/* 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);