svn commit: r202371 - stable/8/sys/boot/sparc64/loader

Marius Strobl marius at FreeBSD.org
Fri Jan 15 15:28:57 UTC 2010


Author: marius
Date: Fri Jan 15 15:28:57 2010
New Revision: 202371
URL: http://svn.freebsd.org/changeset/base/202371

Log:
  MFC: r200946
  
  Execute the cleanup handlers before jumping to the kernel just
  like the other architectures do.

Modified:
  stable/8/sys/boot/sparc64/loader/main.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/boot/sparc64/loader/main.c
==============================================================================
--- stable/8/sys/boot/sparc64/loader/main.c	Fri Jan 15 15:27:17 2010	(r202370)
+++ stable/8/sys/boot/sparc64/loader/main.c	Fri Jan 15 15:28:57 2010	(r202371)
@@ -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-stable-8 mailing list