svn commit: r200946 - head/sys/boot/sparc64/loader
Marius Strobl
marius at FreeBSD.org
Thu Dec 24 15:23:51 UTC 2009
Author: marius
Date: Thu Dec 24 15:23:51 2009
New Revision: 200946
URL: http://svn.freebsd.org/changeset/base/200946
Log:
Execute the cleanup handlers before jumping to the kernel just
like the other architectures do.
Modified:
head/sys/boot/sparc64/loader/main.c
Modified: head/sys/boot/sparc64/loader/main.c
==============================================================================
--- head/sys/boot/sparc64/loader/main.c Thu Dec 24 15:16:16 2009 (r200945)
+++ head/sys/boot/sparc64/loader/main.c Thu Dec 24 15:23:51 2009 (r200946)
@@ -386,6 +386,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-head
mailing list