Call freeall() from chain() to match the code for other ofw platforms.
freeall() is a no-op.
This commit is contained in:
parent
ee90a05a3e
commit
991ac5aec7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: boot.c,v 1.20 2006/01/27 03:11:33 uwe Exp $ */
|
||||
/* $NetBSD: boot.c,v 1.21 2006/01/27 04:53:22 uwe Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -157,6 +157,8 @@ chain(boot_entry_t entry, char *args, void *ssym, void *esym)
|
|||
extern char end[];
|
||||
int l;
|
||||
|
||||
freeall();
|
||||
|
||||
/*
|
||||
* Stash pointer to end of symbol table after the argument
|
||||
* strings.
|
||||
|
|
Loading…
Reference in New Issue