Remove hack to initialize SYMTAB_SPACE ksyms now that ksyms_init does it

for us.  Per PR port-evbarm/40311.
This commit is contained in:
jmmv 2009-01-23 09:23:02 +00:00
parent f084134ae9
commit b615b3d11f
1 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: shark_machdep.c,v 1.33 2009/01/03 20:05:12 jmmv Exp $ */
/* $NetBSD: shark_machdep.c,v 1.34 2009/01/23 09:23:02 jmmv Exp $ */
/*
* Copyright 1997
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: shark_machdep.c,v 1.33 2009/01/03 20:05:12 jmmv Exp $");
__KERNEL_RCSID(0, "$NetBSD: shark_machdep.c,v 1.34 2009/01/23 09:23:02 jmmv Exp $");
#include "opt_ddb.h"
@ -300,10 +300,7 @@ initarm(void *arg)
panic("Cannot claim FIQ vector.");
#if NKSYMS || defined(DDB) || defined(MODULAR)
#ifdef __ELF__
/* XXX: Load the symbol table in SYMTAB_SPACE */
ksyms_addsyms_elf(0, NULL, NULL);
#else /* !__ELF__ */
#ifndef __ELF__
{
struct exec *kernexec = (struct exec *)KERNEL_TEXT_BASE;
extern int end;