svn commit: r202372 - stable/7/sys/boot/sparc64/loader
Marius Strobl
marius at FreeBSD.org
Fri Jan 15 15:28:58 UTC 2010
Author: marius
Date: Fri Jan 15 15:28:58 2010
New Revision: 202372
URL: http://svn.freebsd.org/changeset/base/202372
Log:
MFC: r200946
Execute the cleanup handlers before jumping to the kernel just
like the other architectures do.
Modified:
stable/7/sys/boot/sparc64/loader/main.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/boot/sparc64/loader/main.c
==============================================================================
--- stable/7/sys/boot/sparc64/loader/main.c Fri Jan 15 15:28:57 2010 (r202371)
+++ stable/7/sys/boot/sparc64/loader/main.c Fri Jan 15 15:28:58 2010 (r202372)
@@ -387,6 +387,8 @@ __elfN(exec)(struct preloaded_file *fp)
pmap_print_tlb_sun4u();
#endif
+ dev_cleanup();
+
entry = e->e_entry;
OF_release((void *)heapva, HEAPSZ);
More information about the svn-src-all
mailing list